• R/O
  • SSH

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisão6540e33d2287c886a8aa10e6e756ff61434e70a0 (tree)
Hora2021-09-17 21:39:46
AutorLorenzo Isella <lorenzo.isella@gmai...>
CommiterLorenzo Isella

Mensagem de Log

I updated the code to make it work with Python 3.

Mudança Sumário

Diff

diff -r 64b6ee936c3a -r 6540e33d2287 Python-codes/mayavi2_script2.py
--- a/Python-codes/mayavi2_script2.py Fri Sep 17 11:59:49 2021 +0200
+++ b/Python-codes/mayavi2_script2.py Fri Sep 17 14:39:46 2021 +0200
@@ -1,8 +1,8 @@
1-#! /usr/bin/env python
1+#! /usr/bin/env python3
22
33
44 import numpy as np
5-from enthought.mayavi import mlab
5+from mayavi import mlab
66
77 x = np.arange(10)
88 y = np.ones_like(x)