plotly / plotly/plotly.py

imshow() animation_frame behaves incorrectly with binary_string = True

オープン
#4,501 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

bug P3
主要言語
Python
スター
18.8k
フォーク
2.8k
平均マージ
16時間 26分
マージ済み PR(30日)
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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. 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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。