-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
feature request: imshow() like matplotlib or cv2 #1702
Comments
Hi @YoniChechik, Yeah, this would be really nice. There's an open issue with the plotly.js project to add a native trace for doing this (plotly/plotly.js#3898). One approach that I've thought of trying, but haven't yet, is overlaying a transparent heatmap on top of a layout.image. Heatmaps have an One downside, though, is that the pixels of a layout.image object are smoothed. So you don't get the crisp heatmap-style pixel boundaries when you zoom in. But this might be something that could be addressed as a new option in plotly.js for Are you interested in investigating this approach? |
@jonmmease I'd be happy to help, but I no nothing about node js... The one input I can give is that the use of |
Yeah, I agree. So we'll need to wait for something to be added in the plotly.js layer. |
@jonmmease check this out: plotly/plotly.js#3898 plotly/plotly.js#4289 |
Yep @YoniChechik we've designed |
i'm familiar with go.layout.Image(), but it missing for me crucial "show closes data on hover" pixel RGB value + it can't show image from np.array.
I guess that the closest thing to start from when implementing this is heatmaps with the ability to control each pixel RGB value
it can really bring plotly to a lot more computer vision oriented programing (mainly in jupyter) and make plotly even better.
The text was updated successfully, but these errors were encountered: