in fig.update_layout(), the ‘autorange’ attribute is not working. Without it, my date is ascending, and with it, my data is still ascending.
Code:
fig = px.imshow(img=df_pivot, aspect=‘auto’,width=900,height=600,
zmin=df_pivot.values.min(),zmax=df_pivot.values.max(),origin=‘upper’,
labels={‘x’:‘Day of the Week’,‘y’:df_pivot.index.name},
color_continuous_scale=‘algae’
)fig.update_layout({‘title’:{‘text’:‘Open Hours of Service: Day by Hour’, ‘x’:0.5,‘font’:{‘size’:20}},
‘yaxis’:{‘tickmode’:‘linear’,‘autorange’:‘reversed’}})
iplot(fig)
Was there an update to this parameter?