Re: [Matplotlib-users] axvspan legend

2013-02-26 Thread Benjamin Root
On Tue, Feb 26, 2013 at 7:44 AM, Rita  wrote:

> Hi,
>
> I have a time series data which I am using plot_time(). I am able to get a
> legend and I also have axvspan to show weekends. However, how can I state
> the "yellow" (axvspan) is a weekend on the legend or is there a better way
> to show this?
>
>
I believe you are looking for Proxy Artists:

http://matplotlib.org/users/legend_guide.html#using-proxy-artist

Cheers!
Ben Root
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] axvspan legend

2013-02-26 Thread Rita
Hi,

I have a time series data which I am using plot_time(). I am able to get a
legend and I also have axvspan to show weekends. However, how can I state
the "yellow" (axvspan) is a weekend on the legend or is there a better way
to show this?



-- 
--- Get your facts first, then you can distort them as you please.--
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users