Skip to content

imshow / image in plotly.js? #6373

@josephernest

Description

@josephernest

Hi,
How to make an equivalent of matplotlib's imshow or plotly.py's imshow:

import plotly.express as px, skimage
fig = px.imshow(skimage.data.astronaut(), binary_format="jpeg", binary_compression_level=0)
fig.show()

in pure JS / PlotlyJS?

Is there a documented feature for this?

See also https://community.plotly.com/t/plt-imshow-andlog-in-plotly/15983/2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions