Hello list,
I run into trouble with the formelly working
example ''ginput_manual_clabel.py'' or the following minimal example (in
ipython -pylab)
CS = plt.contour(reshape(arange(20)%3, (4, 5)), [0, 1, 2])
CL = plt.clabel( CS, manual=True )
First of all I get a DeprecationWarning during the startup (for GTKAGG and
TKAGG)
/scratch/michler/SOFT/lib/python2.5/site-packages/matplotlib/backend_bases.py:1793:
DeprecationWarning: Using default event loop until function specific to this
GUI is implemented
warnings.warn(str,DeprecationWarning)
and the worse point is that I am not able to select some clabel-positions
(GTKAGG, TKAGG and WXAGG) and
if I try to leave the selection mode I get
GTKAGG:
<type 'exceptions.TypeError'>: stop_event_loop() takes exactly 1 argument (2
given)
/scratch/michler/SOFT/lib/python2.5/site-packages/matplotlib/blocking_input.py(196)mouse_event_stop()
195 # returned before using data.
--> 196 self.fig.canvas.stop_event_loop(event)
197
TKAGG:
File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 920, in update
self.tk.call('update')
_tkinter.TclError: can't invoke "update" command: application has been
destroyed
WXAGG:
nothing
Could anybody help me?
Kind regards,
Matthias
ginput_manual_clabel.py (2.39 KB)