Revision: 5602
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5602&view=rev
Author:   cmoad
Date:     2008-06-19 19:17:02 -0700 (Thu, 19 Jun 2008)

Log Message:
-----------
updated figure dpi call

Modified Paths:
--------------
    trunk/matplotlib/lib/matplotlib/backends/backend_cocoaagg.py

Modified: trunk/matplotlib/lib/matplotlib/backends/backend_cocoaagg.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/backends/backend_cocoaagg.py        
2008-06-19 19:55:41 UTC (rev 5601)
+++ trunk/matplotlib/lib/matplotlib/backends/backend_cocoaagg.py        
2008-06-20 02:17:02 UTC (rev 5602)
@@ -134,7 +134,7 @@
 
     def windowDidResize_(self, sender):
         w,h = self.bounds().size
-        dpi = self.canvas.figure.dpi.get()
+        dpi = self.canvas.figure.dpi
         self.canvas.figure.set_size_inches(w / dpi, h / dpi)
         self.canvas.draw()
         self.updatePlot()


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

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to