From f46bef8c92fd6059985ffc7c51f4776378df8dac Mon Sep 17 00:00:00 2001 From: Pierre Guillod Date: Sun, 8 Sep 2024 10:11:13 +0200 Subject: [PATCH] chrome bug patch --- remplis-ta-ville.ipynb | 68 +++++------------------------------------- 1 file changed, 8 insertions(+), 60 deletions(-) diff --git a/remplis-ta-ville.ipynb b/remplis-ta-ville.ipynb index eddfc47..540b7f4 100644 --- a/remplis-ta-ville.ipynb +++ b/remplis-ta-ville.ipynb @@ -16,7 +16,7 @@ }, { "cell_type": "code", - "execution_count": 1, + "execution_count": null, "id": "e2abc871-bf82-4cf6-993e-cd904c7e7468", "metadata": { "editable": true, @@ -43,7 +43,7 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": null, "id": "529de80c-dd7f-45eb-b3c1-753b33d2bdb7", "metadata": { "editable": true, @@ -52,23 +52,7 @@ }, "tags": [] }, - "outputs": [ - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "c0176080a16b4a30a7e18ab24b942c09", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "HBox(children=(VBox(children=(Dropdown(description='Région', options=(('Ville de Genève', 'geneva'), ('Région …" - ] - }, - "execution_count": 2, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "places = {\n", " \"geneva\": {\"shorthand\": \"geneva\", \"friendly\": \"Ville de Genève\", \"label\": \"Geneva, Switzerland\", \"cars\": 44_000, \"node\": 2809410},\n", @@ -241,7 +225,7 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": null, "id": "f4440649-731e-421e-b43d-17576bb8ad3f", "metadata": { "editable": true, @@ -250,23 +234,7 @@ }, "tags": [] }, - "outputs": [ - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "9f2e4d21173a48fa9b9d3f115fb84741", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "HBox(children=(VBox(children=(HBox(children=(IntSlider(value=1, description='4400 véhic.', max=10, min=1, read…" - ] - }, - "execution_count": 5, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "w_slider = widgets.IntSlider(\n", " min=1,\n", @@ -297,31 +265,10 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": null, "id": "adf24613-a4ab-433f-8a1d-6e1d168163aa", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - "\n" - ], - "text/plain": [ - "" - ] - }, - "execution_count": 4, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "from IPython.core.display import HTML\n", "HTML(\"\"\"\n", @@ -330,6 +277,7 @@ " display: block !important;\n", " max-width: 700px !important;\n", " margin: 0 auto !important;\n", + " overflow: hidden !important; /*chrome bug patch*/\n", "}\n", "\n", "\"\"\")"