首页 > 解决方案 > 我如何删除情节的xlabel?

问题描述

我不需要 xlabels。因此,我希望删除/保留它。我怎样才能做到这一点?

plt.title('Amount of kill per country', pad= 15, fontsize = 20)
plt.ylabel('Kills', fontsize=14)
plt.xlabel('Country', fontsize=14)
plt.show()

[ploting and coding][1]


  [1]: https://i.stack.imgur.com/4km5J.png

标签: pythonpandasmatplotlib

解决方案


推荐阅读