diff --git a/conda/meta.yaml b/conda/meta.yaml
index 4c7e9353fe07bb9afa97f5a531beadccfe7f2c7a..c075a2b0e462e09fa04115e49dec59321d64732c 100644
--- a/conda/meta.yaml
+++ b/conda/meta.yaml
@@ -37,13 +37,14 @@ requirements:
     - libtiff {{ libtiff }}
     - boost {{ boost }}
     - numpy {{ numpy }}
+    - matplotlib {{ matplotlib }}
   run:
     - python
     - setuptools
     - boost
     - {{ pin_compatible('numpy') }}
   run_constrained:
-    - matplotlib
+    - {{ pin_compatible('matplotlib') }}
 
 test:
   imports: