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
custom_projection_example.py is completely out of date #6865
Comments
This is broken back as far as we have hosted built docs: http://matplotlib.org/1.2.1/examples/api/custom_projection_example.html 👍 on reducing the example to the code in the OP of this issue. |
Looks like this is mostly @mdboom 's work from 2008. |
DOC: Fix example following comments in issue #6865
DOC: Fix example following comments in issue #6865
If I am not mistaken, this is fixed in master. @anntzer care to check? |
Fixed by #7111. |
I'm not convinced that it was worth copying the entire implementation of the Hammer projection into the example but I guess it's fine too. |
Basically the whole example (http://matplotlib.org/examples/api/custom_projection_example.html) seems to be an outdated implementation of the Hammer projection (available at https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/projections/geo.py). In fact it is so outdated that it doesn't manage to make the lines become "curved" like they should. Instead, just copy-pasting the
if __name__ == "__main__"
block at the end to use the standardhammer
projection results in a correct plot:The text was updated successfully, but these errors were encountered: