Home > other >  Z-label does not show up in 3d matplotlib scatter plot
Z-label does not show up in 3d matplotlib scatter plot

Time:01-30

The z-label does not show up in my figure. What is wrong?

import matplotlib.pyplot as plt

fig = plt.figure()
ax = fig.add_subplot(111, projection='3d')
ax.set_xlabel("x")
ax.set_ylabel("y")
ax.set_zlabel("z")
plt.show()

enter image description here

  • Related