I would like to use rangebreaks for data that is on a level more fine than hours (30 minute, 15 minute, etc.).
The docs are very clear about how to weed out certain days and hours, like so:
fig.update_xaxes( rangebreaks=[ dict(bounds=[17, 9], pattern="hour"), #hide hours outside of 9am-5pm ] )
But what about higher resolutions?
The most obvious use-case is for a candlestick chart for the NYSE operating hours which are from 9:30 to 16:00. Using the above code, we can only weed out times up to 9:00, leaving a nasty little 30 minute gap between 9:00 and 9:30. I’ve tried entering a float value of 9.5, but it does not work.
So how can we use rangebreaks to skip breaks on, for example, 30-minute or 15-minute interval candlesticks, or even much higher resolutions?
Note: I thought we might need to use values/dvalues, but the documentation for dvalues is difficult to understand, and there are no examples in the documentation showing how it could be used.