diff --git a/frangiPANe/snakemake_scripts/generate_jb_frangiPANe.py b/frangiPANe/snakemake_scripts/generate_jb_frangiPANe.py
index 7510203652cbdfb3bf50f97abfdb71d75e44b28e..138a8ad1f1478b1965f95b719a351c001f2ae5e2 100644
--- a/frangiPANe/snakemake_scripts/generate_jb_frangiPANe.py
+++ b/frangiPANe/snakemake_scripts/generate_jb_frangiPANe.py
@@ -29,11 +29,10 @@ for variable_name, variable_value in dico.items():
         code_cell += f"{variable_name} = '{variable_value}'\n"
 
 nb.cells.insert(0, new_code_cell(code_cell))
+nb.cells.append(nbformat.new_code_cell("import matplotlib.pyplot as plt"))
+nb.cells.append(nbformat.new_code_cell(f"plt.imshow(plt.imread('{dico{'bam_png'}}'))"))
 
 # Enregistrer le notebook modifié
 with open(jb_output, "w", encoding="utf-8") as notebook_file:
     nbformat.write(nb, notebook_file)
 
-
-
-