[BUG] DCC graph rendering of 'relative' bar inconsistent
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- plotly, python
- Ambito
- data-visualization, frontend
Direzione di ricerca
Iniziare riproducendo il problema tramite dcc.Graph con le versioni riportate e confrontarlo con fig.show() per lo stesso grafico a barre relativo. Tracciare il modo in cui dcc.Graph riceve ed esegue il rendering della figura, quindi verificare nel browser che tutte le barre utilizzino coerentemente il posizionamento relativo senza modificare il barmode della figura.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Python
- Stelle
- 24.4k
- Fork
- 2.3k
- Merge medio
- 1g 21h
- PR unite (30g)
- 19
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di plotly/dash
-
good first issue P3 size: 1 task
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
enhancement P2 size: 5
Difficoltà 5/5 Più di una settimana Idoneità per principianti 45/100
-
enhancement P3 size: 10+
-
P2 size: 1 task
-
enhancement P3 size: 1
Difficoltà 3/5 1-2 giorni Idoneità per principianti 72/100
Issue simili
-
essnmx good first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
-
[Feature] 奇物选择添加优先级 Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
syfoud/Simulated_Scepter#174 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
Giskard-AI/giskard-oss#2840 · 1 commento ·
-
A claim comment carrying the issue number is silently declined while the workflow reports success Apertaarea: repo bug perceived difficulty: 2
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
yeti-platform/yeti#1380 ·