Navigation Menu

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

Fixed transoffset example from failing. #1111

Merged
merged 1 commit into from Aug 21, 2012

Conversation

pelson
Copy link
Member

@pelson pelson commented Aug 20, 2012

This issue came about because the polar axes which had already been created via plt.subplot wasn't getting picked up with a simple plt.gca(projection='polar') due to different gridspecs. I have removed the use of the gridspec in the key comparison of gca, and added a few tests which cover these changes.

Fixes #1084.

"""
resolution = kwargs.pop('resolution', 1)
ax = gca(polar=True, resolution=resolution)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This part wasn't necessary, but is out of date and redundant. I would be willing to put it back in if requested.

@mdboom
Copy link
Member

mdboom commented Aug 20, 2012

Looks good.

@mdboom
Copy link
Member

mdboom commented Aug 21, 2012

Merging.

mdboom added a commit that referenced this pull request Aug 21, 2012
Fixed transoffset example from failing.
@mdboom mdboom merged commit dda4ab6 into matplotlib:master Aug 21, 2012
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

Successfully merging this pull request may close these issues.

doc/mpl_examples/pylab_examples/transoffset.py not working as expected
2 participants