raster trace type: matplotlib imshow equivalent
See original GitHub issueCould/should we have some trace type that would be equivalent to matplotlib’s imshow()
for showing full-color images? https://matplotlib.org/api/_as_gen/matplotlib.pyplot.imshow.html
basically heatmap but with r,g,b channels or something?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:6
- Comments:14 (12 by maintainers)
Top Results From Across the Web
Imshow in Python - Plotly
This tutorial shows how to display and explore image data. If you would like instead a logo or static image, use go.layout.Image as...
Read more >matplotlib.pyplot.imshow — Matplotlib 3.6.2 documentation
Display data as an image, i.e., on a 2D regular raster. The input may either be actual RGB(A) data, or 2D scalar data,...
Read more >Chapter 4. Visualization with Matplotlib - O'Reilly
Matplotlib is a multiplatform data visualization library built on NumPy arrays, and designed to work with the broader SciPy stack. It was conceived...
Read more >15-visualising-data
Matplotlib as an object oriented plotting library. Pylab is an interface to the same set of functions that imitates the (state-driven) Matlab plotting...
Read more >Introduction to Geospatial Raster and Vector Data with Python
This episode introduces the two primary types of geospatial data: rasters and ... in python as a DataArray type, we can plot this...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@antoinerg , I think that a good line to follow is
matplotlib.pyplot.imshow
. Key functions not to be missed IMHO are:bokeh
the original image aspect ratio, or “equal” ratio, if needed.heatmap
, with easy ability to change color limit min and max (default is data min and max). 3D/4D (RGB/A) input should be default tonp.uint8
([0,255]) or other types which will be in range [0,1].I’m for it - I really like the idea of being able to specify 3 (or 2 or 4) 2D arrays and specifying whether they’re RGB, HSV, HSL, or whatever. I had some instances in grad school of multiple independent 2D channels of data I wanted to overlay… never did find a mapping that was intelligible for 3 channels but for 2 channels either R+G, R+B, or L+H worked fairly well in my case.