Skip to content

Commit

Permalink
fix sphinx build
Browse files Browse the repository at this point in the history
  • Loading branch information
tpike3 committed Mar 29, 2020
1 parent 9ad5a8c commit 38d7cd4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions docs/tutorials/intro_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@
"```\n",
"\n",
"This will install the dependencies listed in the requirements.txt file which are: \n",
" * jupyter (Ipython interactive notebook) \n",
" * matplotlib (Python's visualization library) \n",
" * mesa (this ABM library -- if not installed) \n",
" * numpy (Python's numerical python library) "
" * jupyter (Ipython interactive notebook) \n",
" * matplotlib (Python's visualization library) \n",
" * mesa (this ABM library -- if not installed) \n",
" * numpy (Python's numerical python library) "
]
},
{
Expand Down Expand Up @@ -178,7 +178,7 @@
"At this point, we have a model which runs -- it just doesn't do anything. You can see for yourself with a few easy lines. If you've been working in an interactive session, you can create a model object directly. Otherwise, you need to open an interactive session in the same directory as your source code file, and import the classes. For example, if your code is in `MoneyModel.py`:\n",
"\n",
"```python\n",
"from MoneyModel import MoneyModel\n",
"from money_model import MoneyModel\n",
"```\n",
"Then create the model object, and run it for one step:"
]
Expand Down Expand Up @@ -253,7 +253,7 @@
"If you've written the code in its own file (`MoneyModel.py` or a different name), launch an interpreter in the same directory as the file (either the plain Python command-line interpreter, or the IPython interpreter), or launch a Jupyter Notebook there. Then import the classes you created. (If you wrote the code in a Notebook, obviously this step isn't necessary).\n",
"\n",
"```python\n",
"from MoneyModel import *\n",
"from money_model import *\n",
"```\n",
"\n",
"Now let's create a model with 10 agents, and run it for 10 steps."
Expand Down
4 changes: 2 additions & 2 deletions docs/tutorials/intro_tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ code is in ``MoneyModel.py``:

.. code:: python
from MoneyModel import MoneyModel
from money_model import MoneyModel
Then create the model object, and run it for one step:

Expand Down Expand Up @@ -265,7 +265,7 @@ this step isn’t necessary).

.. code:: python
from MoneyModel import *
from money_model import *
Now let’s create a model with 10 agents, and run it for 10 steps.

Expand Down

0 comments on commit 38d7cd4

Please sign in to comment.