From f081fa3f918b38fbd1e03cae395253c8aa161d71 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Thu, 5 May 2016 10:15:31 -0400 Subject: [PATCH] [Doc] Add NumPy import to Python tutorial --- doc/sphinx/cython/tutorial.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/sphinx/cython/tutorial.rst b/doc/sphinx/cython/tutorial.rst index 97f1dec37..823702581 100644 --- a/doc/sphinx/cython/tutorial.rst +++ b/doc/sphinx/cython/tutorial.rst @@ -7,9 +7,10 @@ Getting Started --------------- Start by opening an interactive Python session, e.g. by running `IPython -`_. Import the Cantera Python module by running:: +`_. Import the Cantera Python module and NumPy by running:: >>> import cantera as ct + >>> import numpy as np When using Cantera, the first thing you usually need is an object representing some phase of matter. Here, we'll create a gas mixture::