首页 > 其他 > 详细

plt.subplot2grid()函数

时间:2018-07-30 17:42:17      阅读:822      评论:0      收藏:0      [点我收藏+]

 plt.subplot2grid

plt.subplot2grid(shape, loc, rowspan=1, colspan=1, fig=None, **kwargs)

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
Number of columns for the axis to span downwards.

  example:

plt.subplot2grid((4, 3), (0, 0), colspan=3)
plt.subplot2grid((4, 3), (1, 0), rowspan=3)
plt.subplot2grid((4, 3), (1, 1))
plt.subplot2grid((4, 3), (1, 2))
plt.subtitle(haha)

 

技术分享图片

 

plt.subplot2grid()函数

原文:https://www.cnblogs.com/key221/p/9391649.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!