How do you change the size of figures drawn with matplotlib?

后端 未结 19 3463
忘掉有多难
忘掉有多难 2020-11-21 06:01

How do you change the size of figure drawn with matplotlib?

19条回答
  •  清歌不尽
    2020-11-21 06:35

    Another option, to use the rc() function in matplotlib (the unit is inch)

    import matplotlib
    matplotlib.rc('figure', figsize=[10,5])
    

提交回复
热议问题