Skip to content

Commit

Permalink
removing progress bar for the doc
Browse files Browse the repository at this point in the history
  • Loading branch information
spjuhel committed May 24, 2024
1 parent 7d75391 commit 70c776b
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions docs/source/notebooks/boario-quickstart.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "20a01490",
"id": "b4f2960c",
"metadata": {},
"source": [
"# Quickstart example\n",
Expand All @@ -14,7 +14,7 @@
},
{
"cell_type": "markdown",
"id": "6dd240c2",
"id": "268d8c43",
"metadata": {},
"source": [
"## Instantiating a model from a MRIOT system\n",
Expand All @@ -25,7 +25,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "791c6a45",
"id": "9bc7e315",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -37,7 +37,7 @@
},
{
"cell_type": "markdown",
"id": "2a687015",
"id": "132749ea",
"metadata": {},
"source": [
"Some attributes of the test MRIOT are not computed. Calling calc_all() ensures all required tables are present in the IOSystem object. This ``pymrio.IOSystem`` method automatically identifies which tables are missing and calculates them following the IO formal framework. (See [here](https://pymrio.readthedocs.io/en/latest/math.html) for more details.)"
Expand All @@ -46,7 +46,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "4c33a21b",
"id": "347595c0",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -55,7 +55,7 @@
},
{
"cell_type": "markdown",
"id": "7da3a0fe",
"id": "b5284dae",
"metadata": {},
"source": [
"If you see multiple: ``FutureWarning: DataFrame.groupby with axis=1 is deprecated. Do \\`frame.T.groupby(...)\\` without axis instead.``\n",
Expand All @@ -67,7 +67,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "beacb97b",
"id": "7a568ae5",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -77,7 +77,7 @@
},
{
"cell_type": "markdown",
"id": "78dd31c1",
"id": "453afa0d",
"metadata": {},
"source": [
"Instantiating the model is very straightforward:"
Expand All @@ -86,7 +86,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "d4148209",
"id": "47d4962d",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -95,15 +95,15 @@
},
{
"cell_type": "markdown",
"id": "6e1afa65",
"id": "1d504000",
"metadata": {},
"source": [
"This sets the model with all the default parameters. We highly recommand you to study the different parameters and their options for actual use. See [Changing the model parameters](../tutorials/model-params.rst)."
]
},
{
"cell_type": "markdown",
"id": "838ea49d",
"id": "b69c3e85",
"metadata": {},
"source": [
"Similarly, instantiating a simulation is also quite easy:"
Expand All @@ -112,7 +112,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "84637bf8",
"id": "3faa2992",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -123,7 +123,7 @@
},
{
"cell_type": "markdown",
"id": "c4c9c837",
"id": "32d06777",
"metadata": {},
"source": [
"Once the model and simulation have been instantiated, you can now define an event:"
Expand All @@ -132,7 +132,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "3094f309",
"id": "649d8dc8",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -152,7 +152,7 @@
},
{
"cell_type": "markdown",
"id": "3a249cfe",
"id": "64f06955",
"metadata": {},
"source": [
"Here we define an event happening in region ``reg1`` impacting the productive capital of the ``manufactoring``[^note-1] and ``mining`` sectors. The impact is distributed among the two sectors proportional to their participation to ``reg1``'s GDP.\n",
Expand All @@ -166,7 +166,7 @@
},
{
"cell_type": "markdown",
"id": "61f8a87a",
"id": "1981ad4e",
"metadata": {},
"source": [
"The event can then be added to the simulation:"
Expand All @@ -175,7 +175,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "5c491b66",
"id": "d200e2e2",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -185,7 +185,7 @@
},
{
"cell_type": "markdown",
"id": "9f8c8135",
"id": "526824cc",
"metadata": {},
"source": [
"And the loop can be run:"
Expand All @@ -194,17 +194,17 @@
{
"cell_type": "code",
"execution_count": null,
"id": "095c92f6",
"id": "c07b1032",
"metadata": {},
"outputs": [],
"source": [
"# Launch the simulation\n",
"sim.loop()"
"sim.loop(progress=False)"
]
},
{
"cell_type": "markdown",
"id": "fc23c887",
"id": "e1eb4f5f",
"metadata": {},
"source": [
"Once the simulation ran, you can access and plot the timeseries of the variables (see [Monitoring the variables](../tutorials/simulation-context.rst#monitoring-the-model-variables) for a list of accessible variables).\n",
Expand All @@ -215,7 +215,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "e56d6b9c",
"id": "0945f5f9",
"metadata": {},
"outputs": [],
"source": [
Expand Down

0 comments on commit 70c776b

Please sign in to comment.