[cig-commits] [commit] master: Ensure Python plotter will run on Python 3. (3f406c6)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Tue Jan 6 08:44:33 PST 2015
Repository : https://github.com/geodynamics/specfem1d
On branch : master
Link : https://github.com/geodynamics/specfem1d/compare/35bd59c099344f3bf7aa0e5570daa5ec1eca3c07...5ac1833074897dbc9cc286395ddae214ea0452e3
>---------------------------------------------------------------
commit 3f406c63c338818c09c497453f779ea986db12b0
Author: Elliott Sales de Andrade <esalesde at physics.utoronto.ca>
Date: Tue Jan 6 03:22:11 2015 -0500
Ensure Python plotter will run on Python 3.
>---------------------------------------------------------------
3f406c63c338818c09c497453f779ea986db12b0
Fortran_version/plot_script_using_python.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Fortran_version/plot_script_using_python.py b/Fortran_version/plot_script_using_python.py
index 367d82e..1cd8b3c 100755
--- a/Fortran_version/plot_script_using_python.py
+++ b/Fortran_version/plot_script_using_python.py
@@ -11,6 +11,8 @@ an existing option (--hold, --grid)
@author: Alexis Bottero (alexis.bottero at gmail.com)
"""
+from __future__ import (absolute_import, division, print_function)
+
import argparse
import numpy as np # NumPy (multidimensional arrays, linear algebra, ...)
More information about the CIG-COMMITS
mailing list