|
From: <md...@us...> - 2009-11-30 18:30:17
|
Revision: 7991
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7991&view=rev
Author: mdboom
Date: 2009-11-30 18:30:09 +0000 (Mon, 30 Nov 2009)
Log Message:
-----------
Fix bug in usage of "contains"
Modified Paths:
--------------
branches/v0_99_maint/examples/event_handling/looking_glass.py
Modified: branches/v0_99_maint/examples/event_handling/looking_glass.py
===================================================================
--- branches/v0_99_maint/examples/event_handling/looking_glass.py 2009-11-30 17:39:37 UTC (rev 7990)
+++ branches/v0_99_maint/examples/event_handling/looking_glass.py 2009-11-30 18:30:09 UTC (rev 7991)
@@ -24,7 +24,7 @@
if event.inaxes!=ax:
return
- if not circ.contains(event):
+ if not circ.contains(event)[0]:
return
self.pressevent = event
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|