Skip to content

Commit

Permalink
Refs #master no parallel prospective in reciprocal space plot
Browse files Browse the repository at this point in the history
  • Loading branch information
VickieLynch committed Feb 25, 2019
1 parent 061f295 commit e48b1af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions gui/frame_qspace_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,8 @@ def init_view_objects(self, *args):
# self.scene.mlab.plot3d([offset, offset+a[0]], [offset, offset+a[1]], [offset, offset+a[2]], color=(1,0,0))
# self.scene.mlab.plot3d([offset, offset+b[0]], [offset, offset+b[1]], [offset, offset+b[2]], color=(0,1,0))
# self.scene.mlab.plot3d([offset, offset+c[0]], [offset, offset+c[1]], [offset, offset+c[2]], color=(0,0,1))
# orthographic
mlab.gcf().scene.parallel_projection = True

#Re-enable drawing
self.scene.disable_render = False
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
scripts = ['crystalplan.py']

#Package requirements
install_requires = ['EnthoughtBase', 'Traits', 'Mayavi', 'numpy', 'scipy']
install_requires = ['Traits', 'Mayavi', 'numpy', 'scipy']

def pythonVersionCheck():
# Minimum version of Python
Expand Down

0 comments on commit e48b1af

Please sign in to comment.