Hi all,
I noticed that `ginput` no longer works (tested with SVN trunk). Is
this a known problem?
Kind regards,
Stéfan
---------------------------------------------------------------------------
PyDeadObjectError Traceback (most recent call last)
/Users/stefan/<ipython console> in <module>()
/Users/stefan/lib/python2.5/site-packages/matplotlib/pyplot.pyc in
ginput(*args, **kwargs)
353 If *timeout* is negative, does not timeout.
354 """
--> 355 return gcf().ginput(*args, **kwargs)
356 if Figure.ginput.__doc__ is not None:
357 ginput.__doc__ = dedent(Figure.ginput.__doc__)
/Users/stefan/lib/python2.5/site-packages/matplotlib/figure.pyc in
ginput(self, n, timeout, show_clicks)
1039 blocking_mouse_input = BlockingMouseInput(self)
1040 return blocking_mouse_input(n=n, timeout=timeout,
-> 1041 show_clicks=show_clicks)
1042
1043 def waitforbuttonpress(self, timeout=-1):
/Users/stefan/lib/python2.5/site-packages/matplotlib/blocking_input.pyc
in __call__(self, n, timeout, show_clicks)
235 self.clicks = []
236 self.marks = []
--> 237 BlockingInput.__call__(self,n=n,timeout=timeout)
238
239 return self.clicks
/Users/stefan/lib/python2.5/site-packages/matplotlib/blocking_input.pyc
in __call__(self, n, timeout)
105 finally: # Run even on exception like ctrl-c
106 # Disconnect the callbacks
--> 107 self.cleanup()
108
109 # Return the events in this case
/Users/stefan/lib/python2.5/site-packages/matplotlib/blocking_input.pyc
in cleanup(self)
222 mark.remove()
223 self.marks = []
--> 224 self.fig.canvas.draw()
225
226 # Call base class to remove callbacks
/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/wx-2.8-mac-unicode/wx/_core.pyc
in __getattr__(self, *args)
14312 if not hasattr(self, "_name"):
14313 self._name = "[unknown]"
> 14314 raise PyDeadObjectError(self.attrStr % self._name)
14315
14316 def __nonzero__(self):
PyDeadObjectError: The C++ part of the FigureCanvasWxAgg object has
been deleted, attribute access no longer allowed.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel