Re: [Matplotlib-users] use legend's 'best' location for a text box

2012-01-13 Thread Jae-Joon Lee
As far as I know, No, there is no such way inside matplotlib that does that for you. But, in theory, it should not be very difficult to implement. Can you open a new issue on our github page? Regards, -JJ On Thu, Jan 12, 2012 at 4:16 AM, Craig the Demolishor destrooo...@gmail.com wrote: Hi,

[Matplotlib-users] use legend's 'best' location for a text box

2012-01-11 Thread Craig the Demolishor
Hi, I'm drawing a histogram and I would like to place a text box within the axes that shows the number of events. I like the way I can pass loc='best' to pyplot.legend() and it automatically does its best to avoid my data. Is there any way to replicate this for a simple call to pyplot.text(),