【发布时间】:2021-09-24 18:39:08
【问题描述】:
如何将 Plotly express 上的团队名称(x 轴)旋转 90°?他们没有以正确的方式转向。
这是我的代码。
fig = px.bar(stacked_ratio, y="percent", x="team", color="outcome",
color_discrete_map=colors, title="Long-Form Input")
fig.show()
【问题讨论】: