diff --git a/exporters/ImageExporter.py b/exporters/ImageExporter.py index c8abb02b..78d93106 100644 --- a/exporters/ImageExporter.py +++ b/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/exporters/Matplotlib.py b/exporters/Matplotlib.py index c2980b49..57c4cfdb 100644 --- a/exporters/Matplotlib.py +++ b/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()