【发布时间】:2013-05-01 10:38:45
【问题描述】:
我在 matplotlib 中有一个简单的绘图,我想增加标题和绘图之间的距离(不使用 suptitle,因为它不适用于我在服务器上使用的版本)。该怎么做?
【问题讨论】:
-
不能简单地在标题后面放一些空行吗?你甚至可以使用
text的linespacingkwarg。 -
我发现只是在字符串离开我需要的空间之后添加了 \n
标签: python matplotlib plot title margins