On Tuesday, November 8, 2011, Skipper Seabold <jsseab...@gmail.com> wrote:
> On Tue, Nov 8, 2011 at 6:13 PM, Benjamin Root <ben.r...@ou.edu> wrote:
>>
>> On Tue, Nov 8, 2011 at 4:55 PM, Skipper Seabold <jsseab...@gmail.com>
wrote:
>>>
>>> Hi,
>>>
>>> Two related questions. Consider this plot
>>>
>>> -----
>>>
>>> import matplotlib.pyplot as plt
>>> from mpl_toolkits.mplot3d import Axes3D
>>>
>>> fig = plt.figure()
>>> ax = fig.add_subplot(111, projection='3d')
>>> ax.plot([1,0,0,1],[0,1,0,0],[0,0,1,0])
>>>
>>> ax.set_xlim3d(0,1)
>>> ax.set_ylim3d(0,1)
>>> #ax.set_ylim3d(1,0)
>>> ax.set_zlim3d(0,1)
>>>
>>> plt.show()
>>>
>>> -----
>>>
>>> I want to uncomment the line above to reverse the y axis, but as soon
>>> as I do, the tick labels disappear on the y axis and the z axis tick
>>> label padding changing. Is there another way to reverse the y axis, or
>>> should I fix thing after the fact. If so, how can I do this? I don't
>>> see a zaxis in rcParams.
>>>
>>
>> The first would be a bug (could you please file one?).  The second should
>> probably be a feature request, but I wouldn't expect anything for that
right
>> away.
>>
>
> 1. https://github.com/matplotlib/matplotlib/issues/570

Thanks.

> 2. Surely there's another workaround in the meantime? I've never
> worked much with rcParams, going the long way instead, but now that
> I've discovered it, it's my preferred way of doing things. Anyone have
> any ideas?
>

The problem is that mplot3d doesn't query for any params yet.  A lot of
defaults are hard-coded. I would like to start adding defaults, but we will
need to figure out a consistent naming scheme.

Ben Root
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to