; Loop:
>
> 2/self._plot.set_ydata(self._value)
>
>
>
>
>
> If you need to delete your figure (that is not your case, but who knows for
> the future):
>
> axe = fig.add_axes(self.getPosition())
>
> …
>
> self._fig.delaxes(self._axe)
>
>
>
>
lf.main_widget)
qApp = QtGui.QApplication(sys.argv)
aw = ApplicationWindow()
aw.setWindowTitle("%s" % "Slow!")
aw.setGeometry(100,100,800,600)
aw.show()
sys.exit(qApp.exec_())
On Mon, Jan 4, 2010 at 3:36 PM, Alexander Hupfer wrote:
> Ok, here is the code as a
umber of cycles rendered even when no more points are added (the
points are calculated with a continous rate in a background thread and are
about 300 total).
On Sun, Jan 3, 2010 at 8:16 PM, John Hunter wrote:
> On Sun, Jan 3, 2010 at 7:02 PM, Alexander Hupfer wrote:
> > Thanks I got it fixe
this and only find examples of doing calculations in the background and not
actual widget interaction.
- Alex
On Sun, Jan 3, 2010 at 3:37 PM, Darren Dale wrote:
> On Sun, Jan 3, 2010 at 5:26 PM, Alexander Hupfer wrote:
> > Ok, that at least fixed the tkinter error, but I still don'
Ok, that at least fixed the tkinter error, but I still don't get a colorbar
attached to my plot. (which worked fine when I didn't embedd it in a Qt
application)
On Sun, Jan 3, 2010 at 3:13 PM, Laurent Dufrechou <
laurent.dufrec...@gmail.com> wrote:
> Hello,
>
> You are using the TK backend.
> Add
ib/python2.6/lib-tk/Tkinter.py", line 2159, in create_image
return self._create('image', args, kw)
File "/usr/lib/python2.6/lib-tk/Tkinter.py", line 2150, in _create
*(args + self._options(cnf, kw))))
_tkinter.TclError: bad screen distance "320.0"
On
Hi, I have a scatter plot embedded in qt4 according to
http://matplotlib.sourceforge.net/examples/user_interfaces/embedding_in_qt4.htmlwhat
works fine
However if I try to add a colorbar to it by simply calling
p = scatter()
colorbar(p)
I get an error that says that something is outside the dr
Hi, I want to capture mouse and keyboard events on a plot while updating it
in regular intervals.
I succeeded doing both tasks independently however not in combination.
For the updating I use a subthread to analyze the data while the main thread
redraws the plot in a loop. However while redrawing i