I am trying to use below code, which has hourly pattern based rangebreaks + weekend based bound rangebreaks + date based value rangebreaks.
Below code works fine if I have pattern and weekend based bound rangebreaks (both simultaneously) or just date based value rangebreaks, the moment I add all 3 it does not show the plot.
fig1.update_xaxes(
rangebreaks=[
dict(pattern="hour", bounds=[15.6, 9.25]),
dict(bounds=["sat", "mon"]),
dict(values=["2020-11-16"]),
]
)
I tried separating it out like below, but I see date/value based rangebreaks not getting applied in the final plot:
fig1.update_xaxes(
rangebreaks=[
dict(pattern="hour", bounds=[15.6, 9.25]),
dict(bounds=["sat", "mon"]),
]
)
fig1.update_xaxes(
rangebreaks=[dict(values=["2020-11-16"]),]
)
Can someone please help me on how can I use all 3 together and make them work?