Commit 75265a07 authored by Charpentier Maxime's avatar Charpentier Maxime

fix matplotlib bug

parent 923d19f6
Pipeline #11144 failed with stages
in 47 seconds
......@@ -34,7 +34,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "e62e8f22",
"id": "21cb58f3",
"metadata": {},
"outputs": [],
"source": [
......@@ -44,7 +44,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "c7ad1fe8",
"id": "76f19387",
"metadata": {},
"outputs": [],
"source": [
......@@ -54,7 +54,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "775d3853",
"id": "10f39562",
"metadata": {},
"outputs": [],
"source": [
......@@ -135,9 +135,6 @@
"csp_cols = [\"C17_PMEN_CS\"+str(k)for k in csp_cat]\n",
"visu_output = ipyw.Output()\n",
"\n",
"plt.ioff()\n",
"fig, ax = plt.subplots(figsize=(7,10), dpi=150)\n",
"\n",
"def age(ax, value):\n",
" ax.clear()\n",
" if len(value)==4:\n",
......@@ -183,6 +180,9 @@
" \n",
" \n",
"def on_click(event, feature, properties, id):\n",
" plt.close()\n",
" plt.ioff()\n",
" fig, ax = plt.subplots(figsize=(7,10), dpi=150)\n",
" global save_value\n",
" try:\n",
" value = properties['CV']\n",
......@@ -196,6 +196,7 @@
" \n",
"\n",
"def handler_dropdown(event):\n",
" plt.close()\n",
" plt.ioff()\n",
" fig, ax = plt.subplots(figsize=(7,10), dpi=150)\n",
" if save_value:\n",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment