Add support for multiple imshow on the same plot, with opacity slider
未關閉
還沒有人認領這個 Issue。
feature
P3
- 主要語言
- Python
- 星號
- 18.8k
- 分支
- 2.8k
- 平均合併
- 16 小時 26 分鐘
- 30 天內合併 PR
- 21
描述
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)
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
首先檢查範例中展示的現有 px.imshow 行為,以及 Plotly 如何表示影像圖層。該 issue 沒有指定檔案或測試;完成的標準是在同一個繪圖中顯示兩個形狀可能不同的影像,並為兩個圖層提供不透明度控制。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- numpy, python
- 領域
- data-visualization
- Issue 類型
- 功能
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100