Never mind - I missed a key point in the documentation. For anyone who's
wondering:
lg = legend()
lg.get_frame().set_facecolor('black')
works fine.
--Patrick
On 9/5/07, Patrick Bradley <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> Can you change the background of the figure legends generated by
> matplotlib? I'd like to have some white-on-black figures for a few
> presentations that I'm giving, and I can change the figure and axes
> facecolor attributes accordingly (as well as the default text and axis label
> colors), but I can't find an option anywhere to change the background of the
> legend: it still shows up as a white box. Any ideas?
>
> Thanks in advance.
>
> Yours,
> Patrick
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users