Commit 201c4257 authored by Thomas Vincent's avatar Thomas Vincent

Add 2 isosurfaces by default

parent dd2b6513
......@@ -316,9 +316,10 @@ class QSpaceView(Qt.QMainWindow):
# setting up the plot3D and its param tree
self.__view3d = view3d = ScalarFieldView()
view3d.addIsosurface(0., '#FF000060')
view3d.addIsosurface(
lambda data: np.mean(data) + np.std(data),
'#FF0000FF')
'#00FF00FF')
view3d.setMinimumSize(400, 400)
view3d.setAxesLabels('qx', 'qy', 'qz')
self.setCentralWidget(view3d)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment