[1mdiff --git a/smashbox/plot/plot.py b/smashbox/plot/plot.py[m
[1mindex b60a70f..737a62a 100644[m
[1m--- a/smashbox/plot/plot.py[m
[1m+++ b/smashbox/plot/plot.py[m
[36m@@ -576,7 +576,7 @@[m [mdef plot_hydrograph([m
 [m
     if plot_qobs:[m
         fig, ax1 = plot_chro([m
[31m-            np.where(model.response_data.q<0, np.nan, model.response_data.q),[m
[32m+[m[32m            np.where(model.response_data.q < 0, np.nan, model.response_data.q),[m
             date_range=date_range,[m
             columns=columns,[m
             outlets_name=["obs_" + name for name in outlets_name],[m
[36m@@ -1167,17 +1167,18 @@[m [mdef plot_image([m
         fig, ax = figure[m
 [m
     if vmax is None:[m
[31m-        vmax=np.max(matrice)[m
[32m+[m[32m        vmax = np.max(matrice)[m
     if vmin is None:[m
[31m-        vmin=np.min(matrice)[m
[31m-    [m
[31m-    fig, ax = ax_settings.change(figure=(fig, ax))[m
[32m+[m[32m        vmin = np.min(matrice)[m
 [m
[31m-    im = ax.imshow(matrice, extent=extent, vmin=vmin, vmax=vmax, cmap=ax_settings.cmap)[m
[32m+[m[32m    fig, ax = ax_settings.change(figure=(fig, ax))[m
 [m
[32m+[m[32m    # do it first otherwise crash if vmin>min de polygon[m
     if catchment_polygon is not None:[m
         catchment_polygon.plot(ax=ax, facecolor="none", edgecolor="black")[m
 [m
[32m+[m[32m    im = ax.imshow(matrice, extent=extent, vmin=vmin, vmax=vmax, cmap=ax_settings.cmap)[m
[32m+[m
     # create an axes on the right side of ax. The width of cax will be 5%[m
     # of ax and the padding between cax and ax will be fixed at 0.05 inch.[m
     divider = make_axes_locatable(ax)[m
