-
Notifications
You must be signed in to change notification settings - Fork 1
new tutorial on displaying image data #163
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
Conversation
python/imshow.md
Outdated
|
||
### Display single-channel 2D image as grayscale | ||
|
||
For a 2D image, `px.imshows` uses a colorscale to map scalar data to colors. The default colorscale is `gray`, ie grayscale images. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no s
on imshow
python/imshow.md
Outdated
|
||
It is also possible to use the `go.Image` trace from the low-level `graph_objects` API in order to display image data. Note that `go.Image` only accepts multichannel images. For single images, use [`go.Heatmap`](https://plot.ly/python/heatmaps/). | ||
|
||
Note that the `go.Image` trace is different from the `go.layout.Image` class, which can be used for [adding background images or logos to figures](./images/). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's change this link to /python/images
python/imshow.md
Outdated
|
||
### Display multichannel image data with go.Image | ||
|
||
It is also possible to use the `go.Image` trace from the low-level `graph_objects` API in order to display image data. Note that `go.Image` only accepts multichannel images. For single images, use [`go.Heatmap`](https://plot.ly/python/heatmaps/). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note: it's most helpful to use links that start with /
rather than https://plot.ly/
because that way in local dev mode you don't click on a link and end up on the prod site :)
Oh this one needs to be updated to track the latest changes to |
yes, on my list for today |
f97dfc4
to
4e93741
Compare
The CI will be happy only after the release, but it gives an idea of how to use
Image/imshow