Revision: 8845
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8845&view=rev
Author:   mdboom
Date:     2010-12-21 16:28:00 +0000 (Tue, 21 Dec 2010)

Log Message:
-----------
[3053296] backend_qt4 Toolbar2QT string format fix

Modified Paths:
--------------
    branches/v1_0_maint/lib/matplotlib/backends/backend_qt4.py

Modified: branches/v1_0_maint/lib/matplotlib/backends/backend_qt4.py
===================================================================
--- branches/v1_0_maint/lib/matplotlib/backends/backend_qt4.py  2010-12-21 
16:08:28 UTC (rev 8844)
+++ branches/v1_0_maint/lib/matplotlib/backends/backend_qt4.py  2010-12-21 
16:28:00 UTC (rev 8845)
@@ -182,7 +182,7 @@
         y = self.figure.bbox.height - event.y()
         # from QWheelEvent::delta doc
         steps = event.delta()/120
-        if (event.orientation() == Qt.Qt.Vertical):
+        if (event.orientation() == QtCore.Qt.Vertical):
             FigureCanvasBase.scroll_event( self, x, y, steps)
             if DEBUG: print 'scroll event : delta = %i, steps = %i ' % 
(event.delta(),steps)
 
@@ -450,7 +450,7 @@
                         text += ": "+ylabel
                     text += " (%s)"
                 elif ylabel:
-                    text = "%s (%s)" % ylabel
+                    text = "%%s (%s)" % ylabel
                 else:
                     text = "%s"
                 titles.append(text % repr(axes))


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

------------------------------------------------------------------------------
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months.  Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your 
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
_______________________________________________
Matplotlib-checkins mailing list
Matplotlib-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to