Re: [Matplotlib-users] axvspan, multiple calls, how to change prop of 1 object instance

2010-04-12 Thread KrishnaPribadi
I figured it out on my own! Why I couldn't figure it out before... I don't know... Here is the code: myhighlights[1].set_facecolor('y') myhighlights[1].set_xy([[ 3.5 , 0. ],\ [ 3.5 , 1. ], [ 3.75, 1. ], [ 3.75, 0. ], [ 3.5 , 0. ]]) KrishnaPribadi wrote: > > Hi, > I ad

[Matplotlib-users] axvspan, multiple calls, how to change prop of 1 object instance

2010-04-12 Thread KrishnaPribadi
Hi, I added several axvspan "highlights on my plot. I'd like to change the properties of only one of those "highlights" such as the facecolor, xmin, and xmax. I've included some code below. Lets say I'd like to change the properties on the 2nd vertical highlight (axvspan). Can someone please sug