2.0.2之后发布的matplotlib导致极坐标图绘制错误。绿色图的顶部丢失。两个版本之间的输入数据均未更改。
版本2.1.0
版本2.0.2(良好)
import matplotlib.pyplot as plt
theta_radians = np.radians(theta)
fig = plt.figure()
ax = fig.add_subplot(111, polar=True)
ax.set_theta_zero_location("S")
ax.plot(theta_radians, r, color='green')
ax.plot(np.dot(theta_radians, -1), r, color='green')
ax.plot(horiz, arr[25, :])
fig.savefig('./filename.png', dpi=300)
fig.show()