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
Plot does not appear in some cases if rangebreaks overlap #7270
I've created a Codepen for the issue: https://codepen.io/mofojed/pen/ZEgPJPN
In this case, the data spans a week, and range breaks are specified for a full holiday on Thursday, Nov 23, 2023 (Thanksgiving), and a half day on Friday, Nov 24, 2023. These specifications overlaps with other patterns for business days.
The chart does not appear. It looks like the rangebreaks that Plotly.js locates for the plot is:
Where some of those overlap. It looks like that isn't taken into account when calculating the breaks length, so when there's overlap it will not generate a valid break length:
I think it would make sense to check for overlapping here. I'll see if it's possible to adjust holidays to not overlap with any existing business periods as well...
Activity
fix: Partial holidays range breaks (#2297)
fix: Partial holidays range breaks (deephaven#2297)
fix: Partial holidays range breaks (deephaven#2297)
fix: Partial holidays range breaks (#2297) (#2333)
fix: Partial holidays range breaks (#2297) (#2334)
emilykl commentedon Aug 28, 2026
Codepen from #5091: https://codepen.io/MojtabaSamimi/pen/QWNGypW?editors=0010
emilykl commentedon Aug 28, 2026
Codepen from #5783: https://codepen.io/nicolaskruchten/pen/zYwYgMP?editors=0010
emilykl commentedon Aug 28, 2026
Note: seems to be the same as the plotly.py issue plotly/plotly.py#2998