You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.rst
+5-12Lines changed: 5 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,20 +46,13 @@ Installation
46
46
47
47
python setup.py install
48
48
49
-
If you want to use **mayavi** to visualize VASP data, it is recommened to install `Canopy environment <https://store.enthought.com/downloads/#default>`_ on your device instead of installing it manually.
49
+
3D visualization is done via **PyVista**, which is installed automatically as a dependency::
50
50
51
-
After installing canopy, you can set corresponding aliases, for example:
52
-
53
-
.. code-block:: shell
54
-
55
-
alias canopy='/Users/<yourname>/Library/Enthought/Canopy/edm/envs/User/bin/python'
56
-
alias canopy-pip='/Users/<yourname>/Library/Enthought/Canopy/edm/envs/User/bin/pip'
57
-
alias canopy-ipython='/Users/<yourname>/Library/Enthought/Canopy/edm/envs/User/bin/ipython'
58
-
alias canopy-jupyter='/Users/<yourname>/Library/Enthought/Canopy/edm/envs/User/bin/jupyter'
51
+
pip install vaspy
59
52
60
-
Then you can install VASPy to canopy::
53
+
Or install PyVista separately::
61
54
62
-
canopy-pip install vaspy
55
+
pip install pyvista
63
56
64
57
Examples
65
58
--------
@@ -98,7 +91,7 @@ Visualize ELFCAR
98
91
>>>from vaspy.electro import ElfCar
99
92
>>> a = ElfCar()
100
93
>>> a.plot_contour() # Plot coutour
101
-
>>> a.plot_mcontour() # Plot coutour using mlab(with Mayavi installed)
94
+
>>> a.plot_mcontour() # Plot coutour using PyVista
Copy file name to clipboardExpand all lines: setup.py
+5-11Lines changed: 5 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -58,27 +58,21 @@
58
58
59
59
python setup.py install
60
60
61
-
If you want to use **mayavi** to visualize VASP data, it is recommened to install `Canopy environment <https://store.enthought.com/downloads/#default>`_ on your device instead of installing it manually.
61
+
3D visualization is done via **PyVista**, which is installed automatically as a dependency::
62
62
63
-
After installing canopy, you can set corresponding aliases, for example:
64
-
65
-
.. code-block:: shell
66
-
67
-
alias canopy='/Users/<yourname>/Library/Enthought/Canopy/edm/envs/User/bin/python'
68
-
alias canopy-pip='/Users/zjshao/Library/Enthought/Canopy/edm/envs/User/bin/pip'
69
-
alias canopy-ipython='/Users/<yourname>/Library/Enthought/Canopy/edm/envs/User/bin/ipython'
70
-
alias canopy-jupyter='/Users/<yourname>/Library/Enthought/Canopy/edm/envs/User/bin/jupyter'
0 commit comments