摘要:
plt.legend((u'头等舱', u'2等舱', u'3等舱'), loc='best') 阅读全文
posted @ 2018-07-30 19:48
菜鸟key
阅读(1798)
评论(0)
推荐(0)
摘要:
plt.grid(b=None, which='major', axis='both', **kwargs) Turn the axes grids on or off. 显示网格 plt.grid(b=True, which='major', axis='y') Set the axes grid 阅读全文
posted @ 2018-07-30 18:57
菜鸟key
阅读(5010)
评论(0)
推荐(0)
摘要:
import matplotlib.pyplot as plt plt.rcParams['font.sans-serif']=['SimHei'] #用来正常显示中文标签 plt.rcParams['axes.unicode_minus']=False #用来正常显示负号 #有中文出现的情况,需要 阅读全文
posted @ 2018-07-30 17:28
菜鸟key
阅读(333)
评论(0)
推荐(0)
摘要:
plt.subplot2grid shape : sequence of 2 ints loc : sequence of 2 ints rowspan : int Number of rows for the axis to span to the right. colspan : int Num 阅读全文
posted @ 2018-07-30 17:19
菜鸟key
阅读(6384)
评论(0)
推荐(0)

浙公网安备 33010602011771号