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

Already on GitHub? Sign in to your account

Fixed transoffset example from failing. #1111

Merged
merged 1 commit into from Aug 21, 2012

Conversation

Projects
None yet
2 participants
Member

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.

@pelson pelson commented on the diff Aug 20, 2012

lib/matplotlib/pyplot.py
"""
- resolution = kwargs.pop('resolution', 1)
- ax = gca(polar=True, resolution=resolution)
@pelson

pelson Aug 20, 2012

Member

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

Owner

mdboom commented Aug 20, 2012

Looks good.

Owner

mdboom commented Aug 21, 2012

Merging.

@mdboom mdboom added a commit that referenced this pull request Aug 21, 2012

@mdboom mdboom Merge pull request #1111 from pelson/transoffset_fix
Fixed transoffset example from failing.
dda4ab6

@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