diff --git a/src/utils_plots.py b/src/utils_plots.py
index ff9af5e6..7aedbdd4 100644
--- a/src/utils_plots.py
+++ b/src/utils_plots.py
@@ -33,7 +33,7 @@ def show_values(pc, fmt="%.2f", **kw):
     By HYRY
     '''
     pc.update_scalarmappable()
-    ax = pc.get_axes()
+    ax = pc.axes
     for p, color, value in zip(pc.get_paths(), pc.get_facecolors(), pc.get_array()):
         x, y = p.vertices[:-2, :].mean(0)
         if np.all(color[:3] > 0.5):