Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix typo in object-oriented API

  • Loading branch information...
commit a92b8d3aafa0cdeea0a2e9a754b55f9a10bd6cbe 1 parent f3ccff3
Damon McDougall authored September 04, 2012
3  lib/matplotlib/backends/backend_gtkagg.py
@@ -33,7 +33,6 @@ def _get_toolbar(self, canvas):
33 33
             toolbar = None
34 34
         return toolbar
35 35
 
36  
-FigureCanvas = FigureManagerGTKAgg
37 36
 
38 37
 def new_figure_manager(num, *args, **kwargs):
39 38
     """
@@ -112,6 +111,8 @@ def print_png(self, filename, *args, **kwargs):
112 111
         agg = self.switch_backends(FigureCanvasAgg)
113 112
         return agg.print_png(filename, *args, **kwargs)
114 113
 
  114
+FigureCanvas = FigureCanvasGTKAgg
  115
+
115 116
 """\
116 117
 Traceback (most recent call last):
117 118
   File "/home/titan/johnh/local/lib/python2.3/site-packages/matplotlib/backends/backend_gtk.py", line 304, in expose_event

0 notes on commit a92b8d3

Please sign in to comment.
Something went wrong with that request. Please try again.