Revision: 7508
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7508&view=rev
Author:   ryanmay
Date:     2009-08-20 06:55:52 +0000 (Thu, 20 Aug 2009)

Log Message:
-----------
Replace use of axesFrame (which disappeared with spines patch) with axesPatch.

Modified Paths:
--------------
    trunk/matplotlib/examples/event_handling/viewlims.py

Modified: trunk/matplotlib/examples/event_handling/viewlims.py
===================================================================
--- trunk/matplotlib/examples/event_handling/viewlims.py        2009-08-20 
06:44:26 UTC (rev 7507)
+++ trunk/matplotlib/examples/event_handling/viewlims.py        2009-08-20 
06:55:52 UTC (rev 7508)
@@ -40,7 +40,7 @@
         ax.set_autoscale_on(False) # Otherwise, infinite loop
 
         #Get the number of points from the number of pixels in the window
-        dims = ax.axesFrame.get_window_extent().bounds
+        dims = ax.axesPatch.get_window_extent().bounds
         self.width = int(dims[2] + 0.5)
         self.height = int(dims[2] + 0.5)
 


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

Reply via email to