Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mplot3d reverse axis behavior #570

Closed
jseabold opened this issue Nov 8, 2011 · 4 comments
Closed

mplot3d reverse axis behavior #570

jseabold opened this issue Nov 8, 2011 · 4 comments
Assignees

Comments

@jseabold
Copy link
Contributor

jseabold commented Nov 8, 2011

Consider this code snippet. By reversing the y axis, the ticks disappear and the padding on the z-axis is changed.

import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D

fig = plt.figure()
ax = fig.add_subplot(111, projection='3d')

ax.set_xlim3d(0,1)
ax.set_ylim3d(0,1)
ax.set_ylim3d(1,0)
#ax.set_zlim3d(0,1)

plt.show()
@uwe-fechner
Copy link

Same problem here (Matplotlib 1.2, python 2.7 on Ubuntu 12.04, 32 bit).

@WeatherGod
Copy link
Member

Confirmed with the maintenance branch with even my latest round of patches for mplot3d. I think I know why this is happening, though. Thanks for repinging me on this bug report. I completely missed this one.

@ghost ghost assigned WeatherGod Jan 11, 2013
WeatherGod added a commit to WeatherGod/matplotlib that referenced this issue Jan 11, 2013
@WeatherGod
Copy link
Member

PR #1653 should fix the problem.

@dmcdougall
Copy link
Member

I tried out #1653 and can confirm it fixes the issue. Thanks @WeatherGod.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants