如何在Python Notebook上反转y轴值?密谋

时间:2020-10-21 15:21:21

标签: python pandas jupyter-notebook plotly jupyter

fig = df.plot(x='base', y=['info1', 'info2'], template = 'plotly_white', title = "Title")
fig.update_xaxes(title_font=dict(size=18, family='Old Standard TT, serif', color='black'))
fig.update_yaxes(title_font=dict(size=18, family='Old Standard TT, serif', color='black'))
fig.update_layout(titlefont=dict(size =20, color='black', family='Old Standard TT, serif'))

fig.show()

如何反转轴,使我的最低编号出现在顶部?这不是线性图

0 个答案:

没有答案