Revisão | 6540e33d2287c886a8aa10e6e756ff61434e70a0 (tree) |
---|---|
Hora | 2021-09-17 21:39:46 |
Autor | Lorenzo Isella <lorenzo.isella@gmai...> |
Commiter | Lorenzo Isella |
I updated the code to make it work with Python 3.
@@ -1,8 +1,8 @@ | ||
1 | -#! /usr/bin/env python | |
1 | +#! /usr/bin/env python3 | |
2 | 2 | |
3 | 3 | |
4 | 4 | import numpy as np |
5 | -from enthought.mayavi import mlab | |
5 | +from mayavi import mlab | |
6 | 6 | |
7 | 7 | x = np.arange(10) |
8 | 8 | y = np.ones_like(x) |