Open
Description
picture of behavior: https://imgur.com/a/oSBgqvp
I believe the same issue is experienced by another user here: https://community.plotly.com/t/rangebreaks-with-bounds-and-values-show-overlapping-candlesticks/46067
code to reproduce this:
(example.pkl can be found on https://repl.it/join/pdmlylnv-angstscheisse )
import pandas as pd
import plotly.graph_objects as go
df = pd.read_pickle('example.pkl')
fig = go.Figure(data=[go.Candlestick(x=df['time'], open=df['open'], high=df['high'], low=df['low'], close=df['close'])])
fig.update_xaxes(
rangebreaks=[
dict(bounds=[15, 9], pattern="hour"),
# dict(bounds=["sat", "mon"]),
dict(values=["2020-12-25"])
]
)
fig.show()