【发布时间】:2016-09-28 10:17:12
【问题描述】:
在使用polar=True 的一些(相当小的)图形中,ticklabels 与轴重叠。例如:
import numpy as np
import matplotlib.pylab as pl
fig = pl.figure(figsize=[2,2])
fig.subplots_adjust(0.2, 0.2, 0.8, 0.8)
ax = pl.subplot(111, polar=True)
ax.set_yticks([])
创建:
是否可以在轴和标签之间设置偏移量,即将180 向左移动一点,0 向右移动,等等?我更喜欢按subplot 设置它,因为我在同一个图中还有一些其他subplots 不需要ticklabel 偏移量。
【问题讨论】:
-
见adding padding/offset to polar plots tick labels。这能回答你的问题吗?
-
是的,这完美地回答了我的问题,没有看到那个。我投票结束我的问题作为那个问题的副本......
标签: python matplotlib