Suppose I want to stack 3 OHLC figures (e.g. Dow, SP500, Nasdaq) with make_subplots(rows=3, cols=1)
followed by 3 add_ohlc()
s
It seems like a range slider is considered another figure placed at the next row and they screw up the resulting stacked figure. I could applyfig.update_layout(xaxis_rangeslider_visible=False)
to disable the slider associated with the topmost OHLC, but I’m struggling to disable the others. I could successfully specify X axis ranges for all OHLCs with fig.update_xaxes(row=row, col=1, range=[since, until])
but I couldn’t find a method for adjusting xaxis_rangeslider_visible
that accepts row
/col
params.
Any guidance would be greatly appreciated.