|
From: Benjamin R. <ben...@ou...> - 2012-07-24 14:40:26
|
On Tue, Jul 24, 2012 at 10:10 AM, Sami Niemi <s....@uc...> wrote:
> Hi,
>
> I have not managed to rotate the axes label text when generating a 3D
> plot, while in 2D everything works just fine. Here's a short snippet to
> demonstrate:
>
> 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=45)
>
> ax.azim = 225
>
> plt.show()
>
>
Because mplot3d has to managed the rotation of the axes label text itself,
it over-rides any user-specified rotations. I guess it is feasible to
apply a rotation on top of the internal rotation. Could you file a feature
request on github for this?
Cheers!
Ben Root
|