Skip to content

Commit

Permalink
Plot summary
Browse files Browse the repository at this point in the history
  • Loading branch information
burggraaff committed Sep 17, 2024
1 parent db2050c commit 92bb438
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,8 @@
"id": "91022e4a-ffcf-4ab4-9dca-90e41583a7ac",
"metadata": {},
"source": [
"Additionally, we can plot the results in several ways:"
"Additionally, we can plot the results in several ways.\n",
"First, a general summary showing the distribution of some key outputs across the different runs, as histograms and geospatially."
]
},
{
Expand All @@ -540,23 +541,28 @@
"id": "e91a4803-e627-4a50-9ebf-c749870890fe",
"metadata": {},
"outputs": [],
"source": []
"source": [
"fpcup.plotting.plot_wofost_summary(summary, weight_by_area=False) # The weight_by_area keyword will be explained later"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "5eadcd91-bf0e-418e-b386-93ede2581ffe",
"cell_type": "markdown",
"id": "6fb5d6ec-0bca-4118-892f-166759ca824e",
"metadata": {},
"outputs": [],
"source": []
"source": [
"This plot can also be made for a single province:"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "1dafc5fc-a1b9-42b7-8936-1528f73f1cdd",
"metadata": {},
"outputs": [],
"source": []
"source": [
"province = fpcup.geo.process_input_province(\"Zuid-Holland\") \n",
"fpcup.plotting.plot_wofost_summary(summary, weight_by_area=False, province=province)"
]
},
{
"cell_type": "markdown",
Expand Down

0 comments on commit 92bb438

Please sign in to comment.