如何将z轴标签旋转,使文本从底部到顶部而不是从顶部到底部阅读?
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
fig = plt.figure()
ax = fig.add_subplot(111, projection='3d')
ax.set_zlabel('label text flipped', rotation=90)
ax.azim = 225
plt.show()
ax.azim
设置如何,都能实现这一点。这似乎是一个 在 GitHub 上的旧功能请求,但目前还没有相关工作。是否有其他解决方法?