From 88bf8880e16df7a7718bcb6e7eff331979d9d4f6 Mon Sep 17 00:00:00 2001
From: Luke Campagnola <luke.campagnola@gmail.com>
Date: Fri, 3 Oct 2014 10:33:08 -0400
Subject: [PATCH] Correction to exporting docs

---
 doc/source/exporting.rst | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/doc/source/exporting.rst b/doc/source/exporting.rst
index 137e6584..ccd017d7 100644
--- a/doc/source/exporting.rst
+++ b/doc/source/exporting.rst
@@ -39,13 +39,14 @@ Exporting from the API
 To export a file programatically, follow this example::
 
     import pyqtgraph as pg
+    import pyqtgraph.exporters
     
     # generate something to export
     plt = pg.plot([1,5,2,4,3])
 
     # create an exporter instance, as an argument give it
     # the item you wish to export
-    exporter = pg.exporters.ImageExporter.ImageExporter(plt.plotItem)
+    exporter = pg.exporters.ImageExporter(plt.plotItem)
 
     # set export parameters if needed
     exporter.parameters()['width'] = 100   # (note this also affects height parameter)
-- 
GitLab