Re: [Matplotlib-users] collections?

2011-12-11 Thread Daniel Hyams
Thanks so much Tony...that does indeed work. I'm not sure if I understand exactly why, but I'll continue to bang my head on it for a while ;) The set_transform() call is needed if you throw the collection into the axes.artists list, but not if axes.add_collection() is used to (ahem) add the colle

Re: [Matplotlib-users] collections?

2011-12-09 Thread Tony Yu
On Fri, Dec 9, 2011 at 5:23 PM, Tony Yu wrote: > > > On Fri, Dec 9, 2011 at 4:11 PM, Daniel Hyams wrote: > >> I'm sorry, I should have stated the version. I'm using 1.0.0, which just >> returns a list of rectangle artists. >> >> >> On Fri, Dec 9, 2011 at 4:08 PM, Benjamin Root wrote: >> >>> On

Re: [Matplotlib-users] collections?

2011-12-09 Thread Tony Yu
On Fri, Dec 9, 2011 at 4:11 PM, Daniel Hyams wrote: > I'm sorry, I should have stated the version. I'm using 1.0.0, which just > returns a list of rectangle artists. > > > On Fri, Dec 9, 2011 at 4:08 PM, Benjamin Root wrote: > >> On Fri, Dec 9, 2011 at 2:55 PM, Daniel Hyams wrote: >> >>> Tried

Re: [Matplotlib-users] collections?

2011-12-09 Thread Daniel Hyams
I'm sorry, I should have stated the version. I'm using 1.0.0, which just returns a list of rectangle artists. On Fri, Dec 9, 2011 at 4:08 PM, Benjamin Root wrote: > On Fri, Dec 9, 2011 at 2:55 PM, Daniel Hyams wrote: > >> Tried, but unfortunately it did not make any difference :( >> >> > Just

Re: [Matplotlib-users] collections?

2011-12-09 Thread Benjamin Root
On Fri, Dec 9, 2011 at 2:55 PM, Daniel Hyams wrote: > Tried, but unfortunately it did not make any difference :( > > Just as an interesting point... don't know if it means anything. In v1.1.x, we now return a "BarContainer" from the bar() function. This container subclasses the tuple type, whic

Re: [Matplotlib-users] collections?

2011-12-09 Thread Daniel Hyams
Tried, but unfortunately it did not make any difference :( On Fri, Dec 9, 2011 at 2:22 PM, Tony Yu wrote: > > > On Fri, Dec 9, 2011 at 2:13 PM, Daniel Hyams wrote: > >> I can't tell if I'm misusing collections here, or if there is a bug. >> Anyway, what I'm trying to do is keep track of a grou

Re: [Matplotlib-users] collections?

2011-12-09 Thread Tony Yu
On Fri, Dec 9, 2011 at 2:13 PM, Daniel Hyams wrote: > I can't tell if I'm misusing collections here, or if there is a bug. > Anyway, what I'm trying to do is keep track of a group of rectangles > generated from a bar plot. Instead of letting there be a large number of > artists added to the axe

[Matplotlib-users] collections?

2011-12-09 Thread Daniel Hyams
I can't tell if I'm misusing collections here, or if there is a bug. Anyway, what I'm trying to do is keep track of a group of rectangles generated from a bar plot. Instead of letting there be a large number of artists added to the axes, I wanted to just group them into a collection and add the c