I know this seems like a really simple question, but does anyone know how to change the sizes of the numbers for the z axis in a 3d plot like the one below? I know how to do it for the x axis and y axis where I would use
plt.xticks(size=20)
plt.yticks(size=20)
But when I use plt.zticks(size=20)
it doesn't seem to work.
您可以使用此命令更改第三个轴的属性
ax.zaxis.set_tick_params(labelsize=20)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.