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

ax.get_zticks() amd ax.get_zticklabels not working #802

Closed
ghost opened this issue Mar 27, 2012 · 7 comments
Closed

ax.get_zticks() amd ax.get_zticklabels not working #802

ghost opened this issue Mar 27, 2012 · 7 comments
Assignees

Comments

@ghost
Copy link

ghost commented Mar 27, 2012

ax = fig.add_subplot(111, projection='3d')
ax.get_zticks and ax.get_zticklabels returns nothing

@WeatherGod
Copy link
Member

Which version of mpl are you using?

@ghost ghost assigned WeatherGod Mar 30, 2012
@ghost
Copy link
Author

ghost commented Mar 30, 2012

Matplotlib 1.1.0 in EPD install.
but I found an alternative way is ax.zaxis.set_zticklabels.
Is this going to replace ax.get_zticklables?
thanks,

On Thu, Mar 29, 2012 at 7:17 PM, Benjamin Root <
reply@reply.github.com

wrote:

Which version of mpl are you using?


Reply to this email directly or view it on GitHub:
#802 (comment)

-Jingtao Liu

@WeatherGod
Copy link
Member

Do you mean "ax.zaxis.set_ticklabels"? That was the old way.
ax.get_zticklabels is the new way and I don't know why it wouldn't work. I
will look into it in a few days after I get settled down into my

@jenshnielsen
Copy link
Member

For me on 1.1.1rc get_zticklabels works as expected however get_zticks is broken.

It calls self.zaxis.get_ticks(_args, *_kwargs) which does not exist. It should probably call self.zaxis.get_ticklocs
like the x and y equivalent does.

@jenshnielsen
Copy link
Member

I made a pull request that I believe resolves the issue that I noted above.

@ghost
Copy link
Author

ghost commented Apr 2, 2012

Thanks for the hard work.
:)

On Sat, Mar 31, 2012 at 2:25 PM, Jens H NIelsen <
reply@reply.github.com

wrote:

I made a pull request that I believe resolves this issue.


Reply to this email directly or view it on GitHub:
#802 (comment)

-Jingtao Liu

@WeatherGod
Copy link
Member

Closing because PR #809 fixed this

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

2 participants