Re: [matplotlib-devel] LineCollection and alpha

2008-03-18 Thread Michael Droettboom
That seems like a reasonable fix. Fixed in SVN r5003. Cheers, Mike Michael Fitzgerald wrote: > Hi all, > > I found a small bug in LineCollection, which gives an exception when > setting alpha. This is manifested in e.g. hlines and vlines: > >> In [1]: hlines((0,),(-1,),(1,),color='b',alpha=0.1

[matplotlib-devel] LineCollection and alpha

2008-03-12 Thread Michael Fitzgerald
Hi all, I found a small bug in LineCollection, which gives an exception when setting alpha. This is manifested in e.g. hlines and vlines: In [1]: hlines((0,),(-1,),(1,),color='b',alpha=0.1) --- IndexError