You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG]: A NaN in a typed array resets a positive bar stack #8225
In barmode: "relative", a missing value in a Float64Array resets the positive stack for that category. In category A below, the last bar should start at 8 and end at 12. It starts at 0 and ends at 4, covering part of the first bar. The negative stack in B ends at −12 as expected.
Impact
A Dash user reported overlapping segments in a relative bar chart built from a dataframe. I reproduced the problem with synthetic data while investigating that report. The chart understates the sum of positive values when a middle series has a missing value. Downstream report
Steps to reproduce
Load Plotly.js 4.3.1 and add <div id="plot"></div> to the page.
Activity