Skip to content

Add support for multiple imshow on the same plot, with opacity slider #3917

@josephernest

Description

@josephernest

This displays two imshow images in two different tabs:

import plotly.express as px
import numpy as np
from skimage import io

img = io.imread('https://upload.wikimedia.org/wikipedia/commons/thumb/0/00/Crab_Nebula.jpg/240px-Crab_Nebula.jpg')
fig = px.imshow(img)

x = np.random.random((100, 200))
fig2 = px.imshow(x)

fig.show()
fig2.show()

Is there planned support for displaying the two "imshow" on the same plot, with an opacity slider for both layers?

(even if the two 2D-arrays are of different shape - this is possible in matplotlib with the extent parameter of imshow)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3backlogfeaturesomething new

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions