0

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.

enter image description here

Stidgeon
  • 2,673
  • 8
  • 20
  • 28
SeanL
  • 19
  • 7

1 Answers1

1

You can change the properties of the third axis using this command

ax.zaxis.set_tick_params(labelsize=20)
Ernest S Kirubakaran
  • 1,524
  • 12
  • 16