摘要: plt.ylim(y坐标轴范围) plt.bar(x,english,bottom=chinese,color='#43cd80',label='English') plt.legend(loc='upper right')#图例 阅读全文
posted @ 2020-12-29 13:54 bellin124 阅读(1832) 评论(0) 推荐(0) 编辑
摘要: plt.bar(x,y) plt.xlabel('文字') plt.ylabel('y轴') #纵坐标 plt.title("标题") plt.xticks(x,y) 阅读全文
posted @ 2020-12-29 13:52 bellin124 阅读(158) 评论(0) 推荐(0) 编辑
摘要: matplotlib基本设置matplotlib.rcParams,matplotlib-直方图、条形图、折线图、饼图、散点图、箱线图、极线图、阶梯图 阅读全文
posted @ 2020-12-29 09:55 bellin124 阅读(273) 评论(0) 推荐(0) 编辑