-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jae-Joon Lee wrote: > On Sat, Jan 9, 2010 at 4:27 PM, Dominik Szczerba <domi...@itis.ethz.ch> wrote: >> When using white over back color scheme the legend() is unreadable, with >> apparently hard-coded white legend background - or is there a way to set >> it in the rc file? >> > > Unfortunately no. > I recommend you to manually change the color of the legend frame. > > l = plt.legend() > l.legendPatch.set_fc(plt.rcParams["axes.facecolor"]) > > I'm not very kin to introduce a new rc param for this. I think it is > good enough to have the legend background to follow the color of the > axes, as above. I'll try to commit the relevant change soon. > But any other suggestion will be welcomed.
Hmmm, that property really deserves its own rc param, but if you do not like it, it should at least be somewhere automatically set to the current background color to be resistant against people like me ;) I would be happy to have such a fix... Thanks, Dominik > > Regards, > > -JJ > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAktLfhwACgkQ/EBMh9bUuzKcTACglg3AmZ8PYFztHoQKeMTe+Elj KrcAnRi8FCAOpY9Pe96+0MQPyTZ7cnQ4 =MknU -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users