diff --git a/pyqtgraph/exporters/ImageExporter.py b/pyqtgraph/exporters/ImageExporter.py index c8abb02b3fcf86d0290998344eaa1d0576d26534..78d93106549e615859ee3a376df26e9fdd3f0e1f 100644 --- a/pyqtgraph/exporters/ImageExporter.py +++ b/pyqtgraph/exporters/ImageExporter.py @@ -1,6 +1,6 @@ from .Exporter import Exporter from ..parametertree import Parameter -from ..Qt import QtGui, QtCore, QtSvg, USE_PYSIDE\ +from ..Qt import QtGui, QtCore, QtSvg, USE_PYSIDE from .. import functions as fn import numpy as np @@ -99,4 +99,4 @@ class ImageExporter(Exporter): self.png.save(fileName) ImageExporter.register() - \ No newline at end of file + diff --git a/pyqtgraph/exporters/Matplotlib.py b/pyqtgraph/exporters/Matplotlib.py index c2980b494e7ff77b1bcf85bbc2124356e9ccc3ea..57c4cfdb6646b5bf7dff04c215926feee9eb8a76 100644 --- a/pyqtgraph/exporters/Matplotlib.py +++ b/pyqtgraph/exporters/Matplotlib.py @@ -62,9 +62,9 @@ MatplotlibExporter.register() class MatplotlibWindow(QtGui.QMainWindow): def __init__(self): - from .. import widgets.MatplotlibWidget + from ..widgets import MatplotlibWidget QtGui.QMainWindow.__init__(self) - self.mpl = pyqtgraph.widgets.MatplotlibWidget.MatplotlibWidget() + self.mpl = MatplotlibWidget.MatplotlibWidget() self.setCentralWidget(self.mpl) self.show()