Revision: 6344
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6344&view=rev
Author:   ryanmay
Date:     2008-10-29 03:36:27 +0000 (Wed, 29 Oct 2008)

Log Message:
-----------
Fix DraggableRectangle event handling example to no longer use the (now 
removed) Rectangle.xy property.

Modified Paths:
--------------
    trunk/matplotlib/doc/users/event_handling.rst

Modified: trunk/matplotlib/doc/users/event_handling.rst
===================================================================
--- trunk/matplotlib/doc/users/event_handling.rst       2008-10-28 19:36:07 UTC 
(rev 6343)
+++ trunk/matplotlib/doc/users/event_handling.rst       2008-10-29 03:36:27 UTC 
(rev 6344)
@@ -182,8 +182,8 @@
 
             contains, attrd = self.rect.contains(event)
             if not contains: return
-            print 'event contains', self.rect.xy
-            x0, y0 = self.rect.xy
+            x0, y0 = self.rect.get_x(), self.rect.get_y()
+            print 'event contains', x0, y0
             self.press = x0, y0, event.xdata, event.ydata
 
         def on_motion(self, event):


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
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-checkins mailing list
Matplotlib-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to