Как повернуть граф граф в Seaborn? - PullRequest
0 голосов
/ 09 апреля 2020
plt.figure(figsize = (12, 8))
sns.set(style = 'dark', palette = 'colorblind', color_codes = True)
ax = sns.countplot('Position', data = data, color = 'orange')
ax.set_xlabel(xlabel = 'Different Positions in Football', fontsize = 16)
ax.set_ylabel(ylabel = 'Number of of Players', fontsize = 16)
ax.set_title(label = 'Comparison of Positions and Players', fontsize = 20)
plt.show()

После исключения этого кода метки перекрываются enter image description here

Можно ли повернуть изображение, чтобы предотвратить наложение?

...