chrome bug patch
This commit is contained in:
parent
cc0f631952
commit
f46bef8c92
1 changed files with 8 additions and 60 deletions
|
@ -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",
|
||||
"<style>\n",
|
||||
"h1, p {\n",
|
||||
" display: block !important;\n",
|
||||
" max-width: 700px !important;\n",
|
||||
" margin: 0 auto !important;\n",
|
||||
"}\n",
|
||||
"</style>\n"
|
||||
],
|
||||
"text/plain": [
|
||||
"<IPython.core.display.HTML object>"
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"</style>\n",
|
||||
"\"\"\")"
|
||||
|
|
Loading…
Reference in a new issue