]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/lib/plot.py
Don't send dummy wxCommandEvent. Make members private and use wxW coding standards...
[wxWidgets.git] / wxPython / wx / lib / plot.py
index e1d02016b62c0845100a9820e7aa31ab69363e89..af4a4d0e598ecaf97018017920206e0d6ed6c228 100644 (file)
@@ -688,7 +688,7 @@ class PlotCanvas(wx.Window):
     def ScrollUp(self, units):
         """Move view up number of axis units."""
         self.last_PointLabel = None        #reset pointLabel
-        if self.last_draw is not None:         
+        if self.last_draw is not None:
              graphics, xAxis, yAxis= self.last_draw
              yAxis= (yAxis[0]+units, yAxis[1]+units)
              self.Draw(graphics,xAxis,yAxis)