Fixes against relative-import reorganization

This commit is contained in:
Luke Campagnola 2013-12-23 18:42:02 -05:00
parent 9ffc172bf7
commit f4e0f091dc
2 changed files with 4 additions and 4 deletions

View File

@ -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()

View File

@ -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()