]> git.rustad.me Git - nummat1/commitdiff
Uncomment graphing imports
authorBjørn Rustad <bjornrus@samfundet.no>
Fri, 30 Sep 2011 20:09:54 +0000 (22:09 +0200)
committerBjørn Rustad <bjornrus@samfundet.no>
Fri, 30 Sep 2011 20:09:54 +0000 (22:09 +0200)
main.py
newton.py
steepest.py

diff --git a/main.py b/main.py
index bafd50452672a2082d8fc453d270eea8c1bb39af..2477c2dd2cae1b9419b213c19bb4c962add5608d 100644 (file)
--- a/main.py
+++ b/main.py
@@ -1,7 +1,7 @@
-#from enthought.mayavi import mlab
+from enthought.mayavi import mlab
 import time
 import numpy as np
-#import matplotlib.pyplot as plt
+import matplotlib.pyplot as plt
 import surf
 from steepest import steepest
 from function import function_g
index 9eb559ad672cb82ec4ab016b2aa3aea71e2b246e..c63922946ae76ef6cf461d0c2e7052a6cb4b2775 100644 (file)
--- a/newton.py
+++ b/newton.py
@@ -1,9 +1,9 @@
-#from enthought.mayavi import mlab
+from enthought.mayavi import mlab
 from function import function_g, gradient_g, hessian_g
 import generate
 import surf
 import numpy as np
-#import matplotlib.pyplot as plt
+import matplotlib.pyplot as plt
 from numpy.linalg import norm, inv
 
 # Calculate the next iteration of the Newton method
index 2d5d401f3564a937b7040441201a4c1f2619665b..976388c886c5db64e78626b3b5d65832743af259 100644 (file)
@@ -1,9 +1,9 @@
-#from enthought.mayavi import mlab
+from enthought.mayavi import mlab
 from function import function_g, gradient_g, _C
 import generate
 import surf
 import numpy as np
-#import matplotlib.pyplot as plt
+import matplotlib.pyplot as plt
 import time
 from numpy.linalg import norm