python - 我如何删除情节的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
解决方案
推荐阅读
- angularjs - ng-repeat 在 6 个不同的框中显示 6 个不同的值
- symfony - 在 Symfony 4.3 中使用邮件程序-> 预期响应代码“250”但得到代码“535”,消息“535-5.7.8 用户名和密码不被接受
- javascript - 当我运行响应命令时,我试图防止谷歌表格中的重复电子邮件响应
- c# - 如果给定名称已经存在,如何为 docker 容器名称添加后缀?
- c++ - 为什么一个接一个声明的两个变量在内存中不相邻?
- google-analytics - 平均 添加到购物车产品的产品列表位置
- google-apps-script - 重命名 Google 表单上传的文件
- google-apps-script - 如何处理我的 Google 表格脚本中的循环,以便多个(但不是全部)脚本使用一个命令运行?
- cucumber - 相似的两个步骤如何实现
- node.js - Typescript 对象属性类型不正确