8000 Bugfix for issue #750 (gridlines for 3d axes cover a plotted surface … by AmyTeegarden · Pull Request #5033 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Bugfix for issue #750 (gridlines for 3d axes cover a plotted surface … #5033

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

Closed

Conversation

AmyTeegarden
Copy link
Contributor

…after ax.cla() is called)

@tacaswell
Copy link
Member

attn @WeatherGod

@tacaswell tacaswell added this to the proposed next point release milestone Sep 7, 2015
@WeatherGod
Copy link
Member

I think we already fixed this in master recently. Could you provide a
minimal example that demonstrates the problem and also which version of mpl
you are using?
On Sep 6, 2015 9:59 PM, "Thomas A Caswell" notifications@github.com wrote:

attn @WeatherGod https://github.com/WeatherGod


Reply to this email directly or view it on GitHub
#5033 (comment)
.

@AmyTeegarden
Copy link
Contributor Author

I'm using 1.4.3 with python 2.7.10 on Windows 8. I've been trying to figure out how to set up a virtual environment with virtualenv so I can test code from master, but I'm having trouble installing matplotlib from source.

@AmyTeegarden
Copy link
Contributor Author

Minimal example:

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

X = np.arange(-5, 5, 0.25)
Y = np.arange(-5, 5, 0.25)
X, Y = np.meshgrid(X, Y)

fig = plt.figure()
ax = fig.gca(projection = '3d')
ax.cla()
ax.set_axisbelow(True)
ax.plot_surface(X, Y, X + Y, rstride=1, cstride=1, zorder = 10)
plt.show()

@WeatherGod
Copy link
Member

Yeah, I am not seeing the problem in master with your example. I suspect that #4553 inadvertently fixed this issue as well. Oddly enough, it set_axis_on() rather than off, but it does so in the base Axes class. I haven't had time to think about the exact differences here, but I am inclined to close this PR.

If you can prove that the problem still exists in master (maybe via a different mechanism), then feel free to reopen this PR.

@tacaswell
Copy link
Member

This is what renders on mostly-master for me:

so

https://github.com/jbmohler/matplotlib-winbuild This may be a useful repo for getting mpl to build on windows.

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

Successfully merging this pull request may close these issues.

3 participants
0