summaryrefslogtreecommitdiff
path: root/silx/sx/_plot3d.py
diff options
context:
space:
mode:
authorPicca Frédéric-Emmanuel <picca@synchrotron-soleil.fr>2018-07-31 16:22:25 +0200
committerPicca Frédéric-Emmanuel <picca@synchrotron-soleil.fr>2018-07-31 16:22:25 +0200
commit159ef14fb9e198bb0066ea14e6b980f065de63dd (patch)
treebc37c7d4ba09ee59deb708897fa0571709aec293 /silx/sx/_plot3d.py
parent270d5ddc31c26b62379e3caa9044dd75ccc71847 (diff)
New upstream version 0.8.0+dfsg
Diffstat (limited to 'silx/sx/_plot3d.py')
-rw-r--r--silx/sx/_plot3d.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/silx/sx/_plot3d.py b/silx/sx/_plot3d.py
index 3e67fe0..42ebf80 100644
--- a/silx/sx/_plot3d.py
+++ b/silx/sx/_plot3d.py
@@ -27,7 +27,7 @@
__authors__ = ["T. Vincent"]
__license__ = "MIT"
-__date__ = "07/02/2018"
+__date__ = "24/04/2018"
from collections import Iterable
@@ -38,8 +38,8 @@ from ..gui import qt
from ..gui.plot3d.SceneWindow import SceneWindow
from ..gui.plot3d.ScalarFieldView import ScalarFieldView
from ..gui.plot3d import SFViewParamTree
-from ..gui.plot.Colormap import Colormap
-from ..gui.plot.Colors import rgba
+from ..gui.colors import Colormap
+from ..gui.colors import rgba
_logger = logging.getLogger(__name__)
@@ -148,7 +148,7 @@ def contour3d(scalars,
treeView.setSfView(scalarField) # Attach the parameter tree to the view
# Add the parameter tree to the main window in a dock widget
- dock = qt.QDockWidget()
+ dock = qt.QDockWidget(scalarField)
dock.setWindowTitle('Parameters')
dock.setWidget(treeView)
scalarField.addDockWidget(qt.Qt.RightDockWidgetArea, dock)