-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
margins does not handle bézier curves #7184
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
Comments
This is similar to my comments back during the SciPy conference about how This is a bit trickier, though because the margins are supposed to be about On Mon, Sep 26, 2016 at 4:56 PM, Antony Lee notifications@github.com
|
I would classify this as "won't fix". Autoscaling is already enough of a mess without trying to take Bezier curves into account. It's not supposed to be perfect, and able to handle every possible situation; it is supposed to provide a decent first-try plot most of the time. |
I certainly don't mind milestoning this as 3.0 (as in "far, far future") but I'm don't think the problem is unresolvable. |
It's not a question of whether it can be solved, but of whether it is worth the effort and the added complexity. We need to set priorities. |
Fixed by #16832. |
I'm not sure why this was closed; on the current master branch I can reproduce the test case in the original issue, so I don't think this has been fixed yet. |
Also worth noting that one needs to manually autoscale the |
I think this means it is fixed as adding the auto scaling line gives: which is scaling to the curve and not to the control points. If |
I suspect (but haven't checked) that #19216 fixed this |
2.0b4, example modified from http://matplotlib.org/users/path_tutorial.html#bezier-example
Note how the bottom axes have their limits set as if using the positions of the bézier control points (on the unit square), with no margins.
The text was updated successfully, but these errors were encountered: