The color of Scattergl points are missing when using animation
オープン
まだ誰も着手していません。
bug
P3
sev-3
- 主要言語
- Python
- スター
- 18.8k
- フォーク
- 2.8k
- 平均マージ
- 16時間 26分
- マージ済み PR(30日)
- 21
説明
import plotly.graph_objects as go
fig = go.Figure(
data=[go.Scattergl(x=[0, 1], y=[0, 1])],
layout=go.Layout(
xaxis=dict(range=[0, 5], autorange=False),
yaxis=dict(range=[0, 5], autorange=False),
title="Start Title",
updatemenus=[dict(
type="buttons",
buttons=[dict(label="Play",
method="animate",
args=[None])])]
),
frames=[go.Frame(data=[go.Scattergl(x=[1, 2], y=[1, 2])]),
go.Frame(data=[go.Scattergl(x=[1, 4], y=[1, 4])]),
go.Frame(data=[go.Scattergl(x=[3, 4], y=[3, 4])],
layout=go.Layout(title_text="End Title"))]
)
fig.update_layout(showlegend=False)
fig.show()
the visualization is shown as below:
(https://github.com/plotly/plotly.py/assets/55653936/29679f73-06e7-43dd-80ae-1c7d7636f29d)
When I execute the above code, only the first frame line segment has normal color, and the other frame line segments have no color.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、提供されている Python の例を実行し、Scattergl でアニメーションを再現します。最初のフレームの線の色と後続のフレームの線の色を比較し、Plotly の可視化スタックでアニメーションの動作を追跡します。すべてのアニメーションフレームの線分が期待される色を維持すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- data-visualization
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100