diff --git a/scripts/ztplot.py b/scripts/ztplot.py
index 95440d2c00e89b765c866ad00411d0c67d484839..2b7bd8488945cf10e41cd4e8ffe7cdaac0173d9d 100755
--- a/scripts/ztplot.py
+++ b/scripts/ztplot.py
@@ -128,7 +128,7 @@ class ZTPlot(kp.Module):
             sharex=True,
             sharey=True,
             figsize=(16, 8),
-            constrained=True)
+            constrained_layout=True)
 
         axes = [axes] if n_plots == 1 else axes.flatten()