imshow() animation_frame behaves incorrectly with binary_string = True
還沒有人認領這個 Issue。
- 主要語言
- Python
- 星號
- 18.8k
- 分支
- 2.8k
- 平均合併
- 16 小時 26 分鐘
- 30 天內合併 PR
- 21
描述
Hi, I think there's something strange going on with:
- imshow()
- animation_frame
- binary_string
From my tests, binary string (BS) causes the animation to glitch out and freeze, sometimes making the slider pop out of place, and the only way to "reset" the bug is to double click the image to auto resize it.
attached: two videos denoting the problem, it's a simple px.imshow(image, animation_frame = 0, binary_string = True)
TLDR - BS images load faster, but "freezes", no freezes when BS = False
https://github.com/plotly/plotly.py/assets/52300841/4dc37d5a-f7d7-476e-8f1c-c37e4d3356c7
https://github.com/plotly/plotly.py/assets/52300841/2b9c5e99-399d-4ea9-80c8-c81bea42c771
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
Start with the minimal px.imshow(image, animation_frame=0, binary_string=True) reproduction and compare it with binary_string=False. Investigate the animation and slider behavior shown in the attached videos; done means binary-string images animate without freezing or displacing the slider, without requiring a double-click to reset the view.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- data-visualization
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100