Hello all,
anyone can explain the difference mentioned in the subject?
Reference here:
Or, rather, someone can help me understand why this does not work:
fig[‘layout’][‘xaxis5’].update(dict(anchor = ‘y5’,
range = [start_date.strftime(’%Y-%m-%d’),end_date.strftime(’%Y-%m-%d’)]))
If the equivanlet works:
fig[‘layout’][‘xaxis5’].update(dict(anchor = ‘y5’,
range = [‘2006-03-02’, ‘2020-03-02’]))
(Background: I’ve a graph with six subcharts. The fifth one is done on a different DF which might be shorter.)
This is a standardization of the X axis. Start_date/End_date are the Inputs from the DateRangePicker. This is also updates the DF for the upper quadrants.)
Many thanks,
Vaclav