这并不完全是您想要的,但它可能会提示您如何针对极轴精确定位标签:
import numpy as np
from matplotlib import pyplot as plt
fig, axes = plt.subplots(1, 4, figsize=(9, 2), subplot_kw=dict(polar=True))
theta = np.r_[np.linspace(0, 2*np.pi, 12), 0]
for aa in axes.flat:
x = np.random.rand(12)
aa.plot(theta, np.r_[x, x[0]], '-sb')
aa.set_rlim(0, 1)
plt.draw()
ax = axes[-1]
for r, t in zip(ax.yaxis.get_ticklocs(), ax.yaxis.get_ticklabels()):
ax.text(np.pi/2, r, '$\cdot$'*20 + t.get_text(), ha='left', va='center',
fontsize=10, color='0.25')
for ax in axes:
ax.yaxis.set_ticklabels([])
fig.subplots_adjust(left=0.1, right=0.9, bottom=0.1, top=0.9, wspace=0.5)
fig.savefig('test.png', bbox_inches='tight')