Answers for "how to rotate the x labls ins seaborn"

1

seaborn rotate xlabels

plt.figure(figsize=(10,5))
chart = sns.countplot(
    data=data[data['Year'] == 1980],
    x='Sport',
    palette='Set1'
)
chart.set_xticklabels(chart.get_xticklabels(), rotation=45)
Posted by: Guest on May-29-2020

Code answers related to "how to rotate the x labls ins seaborn"

Python Answers by Framework

Browse Popular Code Answers by Language