📜  sns barplot xticks vertical - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:03.382000             🧑  作者: Mango

代码示例1
ax = sns.barplot(data=df, x='X', y='Y')
ax.set_xticklabels(ax.get_xticklabels(), 
                          rotation=90, 
                          horizontalalignment='right')