Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix typo in object-oriented API

  • Loading branch information...
commit a92b8d3aafa0cdeea0a2e9a754b55f9a10bd6cbe 1 parent f3ccff3
@dmcdougall authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/matplotlib/backends/backend_gtkagg.py
View
3  lib/matplotlib/backends/backend_gtkagg.py
@@ -33,7 +33,6 @@ def _get_toolbar(self, canvas):
toolbar = None
return toolbar
-FigureCanvas = FigureManagerGTKAgg
def new_figure_manager(num, *args, **kwargs):
"""
@@ -112,6 +111,8 @@ def print_png(self, filename, *args, **kwargs):
agg = self.switch_backends(FigureCanvasAgg)
return agg.print_png(filename, *args, **kwargs)
+FigureCanvas = FigureCanvasGTKAgg
+
"""\
Traceback (most recent call last):
File "/home/titan/johnh/local/lib/python2.3/site-packages/matplotlib/backends/backend_gtk.py", line 304, in expose_event
Please sign in to comment.
Something went wrong with that request. Please try again.