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
BUGFIX: This change fixes #2475, and incorporates pull request #2806 #2818
Conversation
… manually produce ugly spikes in the contours. The problem was that screen coordinates were being passed as data coordinates when the contour was split to add room for the label.
@bwkeller As a side note, it is better form to work on feature branches, rather than directly on master. It makes resetting your master after this is merged easier. |
I am going to close this because this way of fixing the problem changes behaviour of |
Sorry, changed my mind about this. |
@tacaswell Thanks for the advice, this is my first time contributing, so I'm probably making a bunch of rookie mistakes. |
I think |
tl;dr this is the right fix When you click on the graph the function It is important to note that transforms are named for what they take to display coordinates (see http://matplotlib.org/users/transforms_tutorial.html), thus what passing in a value that is not The function I wrote this out so I don't have to figure this out again. I have cherry-picked your commits to be against v1.3.x and squashed your commits down to a single commit in PR #2843. I did this for two reasons: I wanted this to be on v1.3.x in case we do make a 1.3.2 release and so that I can easily add a test image to this to make sure this does not break again. Sorry if you figured all of this out and I am just being dense. |
I think this should handle both the changes from milli's #2806 pull request and my #2809 pull request.