📜  seaborn 旋转 x 标签 - Python 代码示例

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

代码示例3
chart = data[data['Year'] == 1980]['Sport'].value_counts().plot(kind='bar')
chart.set_xticklabels(chart.get_xticklabels(), rotation=45, horizontalalignment='right')