[matplotlib-devel] FIFOBuffer.add() calls Bbox.update(), not a method

2009-08-21 Thread Ryanitus
Hello. I was doing a simple test using a FIFOBuffer. I set the dataLim parameter to the dataLim of a Line2D plot. After adding a value to the FIFO, it raises an exception. It looks like the FIFO is trying to call Bbox.update(), but that method does not exist. Other update_*() methods do. An

Re: [matplotlib-devel] FIFOBuffer.add() calls Bbox.update(), not a method

2009-08-21 Thread Ryanitus
With regards to the update() function, is it supposed to actually add the data point to the graph? After making the change and re-running the program, the plot does not contain the new data point. Thanks, Ryan John Hunter-4 wrote: > > On Fri, Aug 21, 2009 at 6:24 PM, Ryanitus

[matplotlib-devel] cbook.py, maxdict class key checking on __setitem__

2009-08-21 Thread Ryanitus
I may have found a bug in the __setitem__ method of the maxdict class. Since a dictionary is a mapping class, if an item is set that already exists, it overwrites the previous. However, you are still appending that item to _killkeys regardless. In the case where 2 items with the same key were a