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

A bug in mpl_toolkits.mplot3d.axes3d #3667

Closed
sprite728 opened this issue Oct 18, 2014 · 2 comments
Closed

A bug in mpl_toolkits.mplot3d.axes3d #3667

sprite728 opened this issue Oct 18, 2014 · 2 comments

Comments

@sprite728
Copy link

The original code contains self._draw_grid = maxes._string_to_bool(b), but the _string_to_bool is missing. However, it seems that b is already a boolean but not a string, I wonder why _string_to_bool is needed. After changing this line to self._draw_grid = b resolve the AttributeError issue.

@tacaswell
Copy link
Member

Can you test this with 1.4.1rc1 ? I think this had been fixed.

Cc @WeatherGod

@sprite728
Copy link
Author

I see, just update it to 1.5.x and the code is changed to "self._draw_grid = cbook._string_to_bool(b)", which fix the problem. Thanks.

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

No branches or pull requests

2 participants