import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
fg = plt.figure(1)
fg.clf()
axx = [fg.add_subplot(4, 1, 1 + i, projection='3d') for i in range(4)]
for ax, azel in zip(axx, [(115, 10), (115, -10), (-115, 10), (-115, -10)]):
    ax.set_title('Azim, elev = {}\xb0, {}\xb0'.format(*azel))
ax.set_zlabel('label text')
ax.azim, ax.elev = azel
fg.canvas.draw()
plt.show()
Rotating axes label text in 3D matplotlib