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.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins