Fixed transoffset example from failing. #1111

Merged
merged 1 commit into from Aug 21, 2012

Projects

None yet

2 participants

@pelson
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.

@mdboom
Member
mdboom commented Aug 20, 2012

Looks good.

@mdboom
Member
mdboom commented Aug 21, 2012

Merging.

@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