From: Neal B. <ndb...@gm...> - 2015-06-10 18:36:40
Is there some way I can add a short text to the legend box? Rather than
having
label='foo=0'
label='foo=1'
...
I'd like to just put 'foo' say at the top of the legend box. Any thoughts?
From: Sterling S. <sm...@fu...> - 2015-06-11 05:25:57
Neal,
legend[1] has the title keyword
legend(loc=‘best’,title=‘foo’)
-Sterling
[1] http://matplotlib.org/api/pyplot_api.html#matplotlib.pyplot.legend
On Jun 10, 2015, at 11:36AM, Neal Becker <ndb...@gm...> wrote:
> Is there some way I can add a short text to the legend box? Rather than
> having
> label='foo=0'
> label='foo=1'
> ...
>
> I'd like to just put 'foo' say at the top of the legend box. Any thoughts?
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users