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

implemented inverse transform for Mollweide axes #1624

Merged
merged 4 commits into from Jan 4, 2013

Conversation

lpsinger
Copy link
Contributor

This patch adds an inverse transform to the class matplotlib.projections.geo.MollweideAxes.

@pelson
Copy link
Member

pelson commented Dec 28, 2012

Looks good to me. I'd want to check the numerical accuracy of forward -> inverse -> forward before merging, but I have no problems with this in principle. Good stuff @lpsinger!

The new test functions test_mollweide_forward_inverse_closure and test_mollweide_inverse_forward_closure test that the forward->inverse and inverse->forward compositions are approximate identities.
… test

The goal was to exercise the MollweideAxes.MollweideTransform and MollweideAxes.InvertedMollweideTransform classes. The ax.transData property does not make use of either of these classes; the ax.transProjection property does.
@lpsinger
Copy link
Contributor Author

I added the unit tests. The previous three commits (40a9d48, 2ba7aef, and 6903325) could be squashed together.

@mdboom
Copy link
Member

mdboom commented Jan 4, 2013

👍

dmcdougall added a commit that referenced this pull request Jan 4, 2013
implemented inverse transform for Mollweide axes
@dmcdougall dmcdougall merged commit 3f76b21 into matplotlib:master Jan 4, 2013
@lpsinger lpsinger deleted the mollweide_inverse_transform branch January 4, 2013 21:21
@lpsinger
Copy link
Contributor Author

Could this be merged into the next release?

@pelson
Copy link
Member

pelson commented Apr 16, 2013

Could this be merged into the next release?

It is already merged and on master, so yes, this will be in v1.3 (~June time).

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.

None yet

4 participants