[BUG] DCC graph rendering of 'relative' bar inconsistent
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- plotly, python
調査の方向性
報告されたバージョンで dcc.Graph を使って問題を再現することから始め、同じ相対的な棒グラフについて fig.show() と比較してください。次に、dcc.Graph が figure をどのように受け取り、レンダリングするかを追跡し、figure の barmode を変更せずに、ブラウザー上ですべての棒が一貫して相対位置指定を使用していることを確認してください。
索引モデルが issue の本文から書いたものです。
説明
Describe your context
fig.show() has consistent relative bar positions. dcc.Graph (on the same data) mixes relative and overlaid within the same graph
dash 3.2.0
dash-bootstrap-components 2.0.3
dash-bootstrap-templates 2.1.0
dash-core-components 2.0.0
dash_daq 0.6.0
dash-html-components 2.0.0
dash-table 5.0.0
Describe the bug
Dataframe driven dataset, many columns, some negative and some positive. Set with relative barmode.
fig.update_layout(barmode='relative', bargap=0, showlegend=False,)
When calling from fig.show(), the results are properly relative
fig = netchart()
fig.show()
When calling from a dash webpage, with dcc.graph on the same data, the resulting figure is partially stacked and partially displayed as overlaid data
from . import dashboard_charts
dcc.Graph(figure=dashboard_charts.netchart(), id="ret-netchart")
Expected behavior
Both should correctly display relative data, dcc.Graph should not render two different barmodes within the same dataset when only one was specified.
Screenshots
fig.show()
dcc.Graph
- 主要言語
- Python
- スター
- 24.4k
- フォーク
- 2.3k
- 平均マージ
- 1日 21時間
- マージ済み PR(30日)
- 19
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
plotly/dash のほかの issue
-
good first issue P3 size: 1 task
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
enhancement P2 size: 5
難易度 5/5 1週間以上 初心者へのやさしさ 45/100
-
enhancement P3 size: 10+
-
P2 size: 1 task
-
enhancement P3 size: 1
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
似ている issue
-
essnmx good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
-
[Feature] 奇物选择添加优先级 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
syfoud/Simulated_Scepter#174 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Giskard-AI/giskard-oss#2840 · コメント 1 件 ·
-
A claim comment carrying the issue number is silently declined while the workflow reports success オープンarea: repo bug perceived difficulty: 2
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
yeti-platform/yeti#1380 ·