You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
aspect="auto" for px.imshow does nothing when plotting RGB data #5172
In this case, setting the aspect key does nothing and the image keeps a fixed aspect ratio. Explicitly adding with and height also does nothing to change the aspect ratio.
Is this an expected limitation of the aspect setting? If yes, then it should probably be documented.
Any update on this? I'm running into the same issue. Trying to override it with any layout update to the figure such as scaleanchor=None or height/width setting doesn't work. There also doesn't seem to be a way to make auto aspect non-square pixels RGB image with go.Image, right? And no way to pass direct RGB data to a Heatmap, which allows those.
Activity
5xx7xx commentedon Sep 27, 2025
Any update on this? I'm running into the same issue. Trying to override it with any layout update to the figure such as scaleanchor=None or height/width setting doesn't work. There also doesn't seem to be a way to make auto aspect non-square pixels RGB image with go.Image, right? And no way to pass direct RGB data to a Heatmap, which allows those.