[Matplotlib-users] legend(loc='best') a bit off

Thomas Caswell tcaswell at gmail.com
Mon Jan 9 09:15:15 EST 2017


I am pretty sure that 'best' is picking from one of the 9 positions [(top,
middle, bottom)X(left, center, right)] not picking a continuous position.

Fixing this would be useful and a pretty major new feature.  It is not
clear to me what the best algorithm for this would be.  The obvious thing
is to run N more refinements around each point, but hopefully there is some
computational geometry that I do not know.

Tom

On Mon, Jan 9, 2017, 09:07 Neal Becker <ndbecker2 at gmail.com> wrote:

> In the attached, the legend box slightly covers the graph, but there is no
> need to, it could just be moved a bit lower and then would cover nothing.
>
> My questions:
> 1) can I fix it?
> 2) is this a bug?_______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users at python.org
> https://mail.python.org/mailman/listinfo/matplotlib-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20170109/64c1a7ad/attachment.html>


More information about the Matplotlib-users mailing list