[Matplotlib-users] legend not covering graphs

swfiua at gmail.com swfiua at gmail.com
Tue Feb 16 12:13:06 EST 2021


You can call legend as follows:

plt.legend(loc=0)

and it will place the legend where it obscures as little as possible.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/matplotlib-users/attachments/20210216/0dc5e894/attachment.html>


More information about the Matplotlib-users mailing list