Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x and y arguments are not taken into account when using go.Image inside px.imshow #2758

Closed
emmanuelle opened this issue Sep 9, 2020 · 0 comments · Fixed by #2761
Closed

Comments

@emmanuelle
Copy link
Contributor

For example

from skimage import data
import numpy as np
import plotly.express as px
img = data.chelsea()
x = 10 * np.arange(img.shape[1])
fig = px.imshow(img, x=x)
fig.show()

image

RGB images (and single-channel images as well with binary_string=True) use go.Image, which does not accept x and y arguments. For xarrays in particular, it would be convenient to be able to use x and y.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant