From 887ae77c4b3cc327254b634e0692079bb66e7018 Mon Sep 17 00:00:00 2001 From: saroele Date: Thu, 18 Jan 2018 15:16:02 +0100 Subject: [PATCH] Adding first draft for water consumption analysis --- notebooks/Analyze water consumption.ipynb | 29 +++++++---------------- 1 file changed, 9 insertions(+), 20 deletions(-) diff --git a/notebooks/Analyze water consumption.ipynb b/notebooks/Analyze water consumption.ipynb index 0d04063..f215cc8 100644 --- a/notebooks/Analyze water consumption.ipynb +++ b/notebooks/Analyze water consumption.ipynb @@ -7,25 +7,7 @@ "outputs": [], "source": [ "import opengrid as og\n", - "import matplotlib.pyplot as plt" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "og.datasets.list_available()" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "%matplotlib inline" + "plt = og.plot_style()" ] }, { @@ -69,6 +51,13 @@ "plt.ylabel('Frequency')\n", "plt.title('Water consumption histogram')" ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] } ], "metadata": { @@ -87,7 +76,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.5.1" + "version": "3.6.4" } }, "nbformat": 4,