Exact figure size in matplotlib with title, axis labels

前端 未结 2 1154
滥情空心
滥情空心 2020-12-25 14:12

Similar questions have been asked before, but all of my search results don\'t address my problem. Take the following example code:

from matplotlib.pyplot i         


        
2条回答
  •  执念已碎
    2020-12-25 14:35

    matplotlib 1.1.1 has added figure.tight_layout() (doc) that will do this for you.

提交回复
热议问题