From e1401d7fcd73099274d16fe92b7644cdc3d23218 Mon Sep 17 00:00:00 2001 From: Jakob Schnell Date: Fri, 28 May 2021 15:16:50 +0200 Subject: [PATCH] Remove sensitive data Key will be deprecated anyways, so there is no point in meddling with git internals to rewrite history. Not commiting it to the main repo should be enough - especially when squashing and merging. --- examples/basic_example.ipynb | 85 +++++++++++++++++------------------- 1 file changed, 39 insertions(+), 46 deletions(-) diff --git a/examples/basic_example.ipynb b/examples/basic_example.ipynb index 948eace4..e226e6b9 100644 --- a/examples/basic_example.ipynb +++ b/examples/basic_example.ipynb @@ -17,14 +17,14 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": 4, "metadata": {}, "outputs": [], "source": [ "import openrouteservice as ors\n", "import folium\n", "\n", - "client = ors.Client(key='5b3ce3597851110001cf6248554c879acee241f6bc733402d2d351be')" + "client = ors.Client(key='')" ] }, { @@ -51,19 +51,19 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": 5, "metadata": {}, "outputs": [ { "data": { "text/html": [ - "
Make this Notebook Trusted to load map: File -> Trust Notebook
" + "
Make this Notebook Trusted to load map: File -> Trust Notebook
" ], "text/plain": [ - "" + "" ] }, - "execution_count": 6, + "execution_count": 5, "metadata": {}, "output_type": "execute_result" } @@ -97,19 +97,19 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": 6, "metadata": {}, "outputs": [ { "data": { "text/html": [ - "
Make this Notebook Trusted to load map: File -> Trust Notebook
" + "
Make this Notebook Trusted to load map: File -> Trust Notebook
" ], "text/plain": [ - "" + "" ] }, - "execution_count": 7, + "execution_count": 6, "metadata": {}, "output_type": "execute_result" } @@ -147,28 +147,28 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": 7, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "Durations in secs: [[0.0, 2788.76, 3730.74, 3613.47], [2788.76, 0.0, 1997.11, 3974.04], [3730.74, 1997.11, 0.0, 2645.66], [3613.47, 3974.04, 2645.66, 0.0]]\n", + "Durations in secs: [[0.0, 2741.09, 3790.1, 3730.45], [2741.09, 0.0, 2005.62, 3971.36], [3790.1, 2005.62, 0.0, 2644.38], [3730.45, 3971.36, 2644.38, 0.0]]\n", "\n", - "Distances in m: [[0.0, 3873.35, 5181.68, 5018.79], [3873.35, 0.0, 2773.82, 5519.6], [5181.68, 2773.82, 0.0, 3674.6], [5018.79, 5519.6, 3674.6, 0.0]]\n" + "Distances in m: [[0.0, 3807.14, 5264.14, 5181.27], [3807.14, 0.0, 2785.65, 5515.87], [5264.14, 2785.65, 0.0, 3672.82], [5181.27, 5515.87, 3672.82, 0.0]]\n" ] }, { "data": { "text/html": [ - "
Make this Notebook Trusted to load map: File -> Trust Notebook
" + "
Make this Notebook Trusted to load map: File -> Trust Notebook
" ], "text/plain": [ - "" + "" ] }, - "execution_count": 8, + "execution_count": 7, "metadata": {}, "output_type": "execute_result" } @@ -204,19 +204,19 @@ }, { "cell_type": "code", - "execution_count": 32, + "execution_count": 9, "metadata": {}, "outputs": [ { "data": { "text/html": [ - "
Make this Notebook Trusted to load map: File -> Trust Notebook
" + "
Make this Notebook Trusted to load map: File -> Trust Notebook
" ], "text/plain": [ - "" + "" ] }, - "execution_count": 32, + "execution_count": 9, "metadata": {}, "output_type": "execute_result" } @@ -262,19 +262,19 @@ }, { "cell_type": "code", - "execution_count": 15, + "execution_count": 10, "metadata": {}, "outputs": [ { "data": { "text/html": [ - "
Make this Notebook Trusted to load map: File -> Trust Notebook
" + "
Make this Notebook Trusted to load map: File -> Trust Notebook
" ], "text/plain": [ - "" + "" ] }, - "execution_count": 15, + "execution_count": 10, "metadata": {}, "output_type": "execute_result" } @@ -309,19 +309,19 @@ }, { "cell_type": "code", - "execution_count": 16, + "execution_count": 11, "metadata": {}, "outputs": [ { "data": { "text/html": [ - "
Make this Notebook Trusted to load map: File -> Trust Notebook
" + "
Make this Notebook Trusted to load map: File -> Trust Notebook
" ], "text/plain": [ - "" + "" ] }, - "execution_count": 16, + "execution_count": 11, "metadata": {}, "output_type": "execute_result" } @@ -362,7 +362,7 @@ }, { "cell_type": "code", - "execution_count": 17, + "execution_count": 12, "metadata": {}, "outputs": [ { @@ -394,7 +394,7 @@ }, { "cell_type": "code", - "execution_count": 18, + "execution_count": 13, "metadata": {}, "outputs": [ { @@ -440,7 +440,7 @@ }, { "cell_type": "code", - "execution_count": 19, + "execution_count": 14, "metadata": { "scrolled": false }, @@ -448,13 +448,13 @@ { "data": { "text/html": [ - "
Make this Notebook Trusted to load map: File -> Trust Notebook
" + "
Make this Notebook Trusted to load map: File -> Trust Notebook
" ], "text/plain": [ - "" + "" ] }, - "execution_count": 19, + "execution_count": 14, "metadata": {}, "output_type": "execute_result" } @@ -502,19 +502,19 @@ }, { "cell_type": "code", - "execution_count": 20, + "execution_count": 15, "metadata": {}, "outputs": [ { "data": { "text/html": [ - "
Make this Notebook Trusted to load map: File -> Trust Notebook
" + "
Make this Notebook Trusted to load map: File -> Trust Notebook
" ], "text/plain": [ - "" + "" ] }, - "execution_count": 20, + "execution_count": 15, "metadata": {}, "output_type": "execute_result" } @@ -570,13 +570,6 @@ "\n", "m" ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [] } ], "metadata": { @@ -595,7 +588,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.1+" + "version": "3.9.2" } }, "nbformat": 4,