Commit a4df59e5 authored by Thomas VINCENT's avatar Thomas VINCENT

Update to plot3d change, no more default isosurface

parent 997c8faa
......@@ -330,6 +330,9 @@ class QSpaceView(Qt.QMainWindow):
# setting up the plot3D and its param tree
self.__view3d = view3d = ScalarFieldView()
view3d.addIsosurface(
lambda data: np.mean(data) + np.std(data),
'#FF0000FF')
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