plt.figure(figsize=(16,12))
创建一个新画布,figsize为画布的大小。
显示情况:
plt.suptitle(fontsize=15)
向图片中加入副标题。fontsize表示字体大小。
加入语句后页面情况:
plt.subplot(221)将界面分为俩行俩列。当前位置为一。
plt.subplot(222)将界面分为俩行俩列。当前位置为二。
显示情况:
plt.figure(figsize=(16,12))
创建一个新画布,figsize为画布的大小。
显示情况:
plt.suptitle(fontsize=15)
向图片中加入副标题。fontsize表示字体大小。
加入语句后页面情况:
plt.subplot(221)将界面分为俩行俩列。当前位置为一。
plt.subplot(222)将界面分为俩行俩列。当前位置为二。
显示情况:
上一篇:画直方图
下一篇:sns.FacetGrid
用css写一个好玩的不停弹跳变形的圆。
魔法命令使得Jupyter使用的是兼容notebook的交互式matplotlib后端。显示图表后,你可以使用鼠标滚轮进行缩放。时,如果你想要放大图表的某一部分,可以使用。的交互式方式查看局部细节。在Jupyter中使用。
欢迎关注公众号:【程序员管小亮】在mat...
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M