Matplolib subplot 子图控制

来源:互联网 发布:淘宝代理免费加盟 编辑:程序博客网 时间:2024/05/19 19:59

subplots_adjust子图调节

matplotlib.pyplot.subplots_adjust(*args, **kwargs)subplots_adjust(left=None, bottom=None, right=None, top=None,                wspace=None, hspace=None)left  = 0.125  # 子图(subplot)距画板(figure)左边的距离right = 0.9    # 右边bottom = 0.1   # 底部top = 0.9      # 顶部wspace = 0.2   # 子图水平间距hspace = 0.2   # 子图垂直间距