|
From: Benjamin R. <ben...@ou...> - 2013-02-26 14:45:35
|
On Tue, Feb 26, 2013 at 7:44 AM, Rita <rmo...@gm...> 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 |