[Matplotlib-users] Small bug in XAxis.contains() and YAxis.contains()

2011-10-08 Thread Daniel Hyams
The pick radius for the X and Y axis artists are one-sided; is that intentional? Original (in class XAxis), file axis.py: def contains(self,mouseevent): """Test whether the mouse event occured in the x axis. """ if callable(self._contains): return self._contains(self,m

Re: [Matplotlib-users] Memory leak - canvas.draw() + pyqt4

2011-10-08 Thread Matt Earnshaw
Hi Stoyan, I had this problem, refer to http://sourceforge.net/mailarchive/forum.php?thread_name=1315605880.26850.7.camel%40GARDEN&forum_name=matplotlib-users It was dismissed as a code error (which I would perhaps dispute). You have two options:- - Adopt the approach seen here: http://matplotl

[Matplotlib-users] Memory leak - canvas.draw() + pyqt4

2011-10-08 Thread Стоян Велешки
Memory leak - canvas.draw() + pyqt4 Hi, my name is Stoyan.     I use the following packages: python 2.6 , PyQt 4.8.5-1, numpy 1.6 and matplotlib 1.0.1. In my program Matplotlib library I have used a GUI application created by "PyQt". In the program there is a loop that updates a graph by callin

Re: [Matplotlib-users] Making copies of figures and selectively writing them to a multipage PDF

2011-10-08 Thread Jouni K . Seppänen
s kemp <6b656...@gmail.com> writes: > The output i get from this code is two identical pages of PDF where > the x limits are set to 3,5. I understand this is because I am simply > making two identical references to the figure object in the list and > by modifying fig1 i also affect the fig1 that i