|
4303 | 4303 | " Arguments:\n",
|
4304 | 4304 | " scenarios (dict):\n",
|
4305 | 4305 | " Dictionary where key is name of parameter and value is a list\n",
|
4306 |
| - " with different values to run in scenarios\n", |
| 4306 | + " with different values to run in scenarios.\n", |
4307 | 4307 | " \"\"\"\n",
|
4308 | 4308 | " # Find every possible permutation of the scenarios\n",
|
4309 | 4309 | " all_scenarios_tuples = list(itertools.product(*scenarios.values()))\n",
|
|
4500 | 4500 | "cell_type": "markdown",
|
4501 | 4501 | "metadata": {},
|
4502 | 4502 | "source": [
|
4503 |
| - "Example plot" |
| 4503 | + "Example plots..." |
4504 | 4504 | ]
|
4505 | 4505 | },
|
4506 | 4506 | {
|
|
4512 | 4512 | "def plot_scenario(results, x_var, result_var, colour_var, xaxis_title,\n",
|
4513 | 4513 | " yaxis_title, legend_title):\n",
|
4514 | 4514 | " \"\"\"\n",
|
4515 |
| - " Plot results from difference model scenarios.\n", |
| 4515 | + " Plot results from different model scenarios.\n", |
4516 | 4516 | "\n",
|
4517 | 4517 | " Arguments:\n",
|
4518 | 4518 | " results (pd.DataFrame):\n",
|
|
4524 | 4524 | " colour_var (str|None):\n",
|
4525 | 4525 | " Name of variable to colour lines with (or set to None).\n",
|
4526 | 4526 | " xaxis_title (str):\n",
|
4527 |
| - " Title for x axis\n", |
| 4527 | + " Title for X axis.\n", |
4528 | 4528 | " yaxis_title (str):\n",
|
4529 |
| - " Title for y axis\n", |
| 4529 | + " Title for Y axis.\n", |
4530 | 4530 | " legend_title (str):\n",
|
4531 |
| - " Title for figure legend\n", |
| 4531 | + " Title for figure legend.\n", |
4532 | 4532 | " \"\"\"\n",
|
4533 | 4533 | " # If x_var and colour_var are provided, combine both in a list to use\n",
|
4534 | 4534 | " # as grouping variables when calculating average results\n",
|
|
7131 | 7131 | "cell_type": "markdown",
|
7132 | 7132 | "metadata": {},
|
7133 | 7133 | "source": [
|
7134 |
| - "Example table" |
| 7134 | + "Example table..." |
7135 | 7135 | ]
|
7136 | 7136 | },
|
7137 | 7137 | {
|
|
0 commit comments