我想更改偏移文本的位置(参见附图)。
有没有办法在matplotlib中执行此操作?
我的代码:
"""
Demo of a line plot on a polar axis.
"""
import numpy as np
import matplotlib.pyplot as plt
r = np.arange(0, 3.0, 0.01)
theta = 2 * np.pi * r
r = r*1000000000
ax = plt.subplot(111, projection='polar')
ax.plot(theta, r, color='b', linewidth=3)
ax.grid(True)
ax.set_title("A line plot on a polar axis", va='bottom')
plt.show()