Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
nicolaskruchten merged 12 commits intov4.3-docsfromimage
Nov 12, 2019
Merged

Conversation

emmanuelle
Copy link
Contributor

The CI will be happy only after the release, but it gives an idea of how to useImage/imshow


### 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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

nos onimshow


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/).
Copy link
Contributor

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


### 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/).
Copy link
Contributor

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 thanhttps://plot.ly/ because that way in local dev mode you don't click on a link and end up on the prod site :)

@nicolaskruchtennicolaskruchten changed the base branch frommaster tov4.3-docsNovember 11, 2019 14:00
@nicolaskruchten
Copy link
Contributor

Oh this one needs to be updated to track the latest changes toimshow

@emmanuelle
Copy link
ContributorAuthor

yes, on my list for today

@nicolaskruchtennicolaskruchten merged commit46a3a33 intov4.3-docsNov 12, 2019
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@nicolaskruchtennicolaskruchtennicolaskruchten left review comments

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@emmanuelle@nicolaskruchten

[8]ページ先頭

©2009-2025 Movatter.jp