[Matplotlib-users] Autoscaling after adding patches (and annotations)

Juan Nunez-Iglesias jni.soma at gmail.com
Fri Mar 22 00:43:18 EDT 2019


> What's an 
> easy way to get the axes to scale correctly in this example?

Have you tried `ax.autoscale_view`?

https://matplotlib.org/api/_as_gen/matplotlib.axes.Axes.autoscale_view.html <https://matplotlib.org/api/_as_gen/matplotlib.axes.Axes.autoscale_view.html>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20190322/a6f109cd/attachment-0001.html>


More information about the Matplotlib-users mailing list