From 92bb43848d7bae0ad8f081272ee99659a6151cfa Mon Sep 17 00:00:00 2001 From: Olivier Burggraaff Date: Tue, 17 Sep 2024 16:28:39 +0200 Subject: [PATCH] Plot summary --- demo.ipynb | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/demo.ipynb b/demo.ipynb index cbb6560..4145805 100644 --- a/demo.ipynb +++ b/demo.ipynb @@ -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." ] }, { @@ -540,15 +541,17 @@ "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", @@ -556,7 +559,10 @@ "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",