From 32df95da3c920e268d044875cb88361d5c633b51 Mon Sep 17 00:00:00 2001 From: Xylar Asay-Davis Date: Sun, 16 Jul 2023 10:40:49 -0500 Subject: [PATCH] Don't use matplotlib 3.7.2 There is a bug with tight layouts and insets https://github.com/matplotlib/matplotlib/pull/26291 --- ci/recipe/meta.yaml | 2 +- dev-spec.txt | 4 +++- setup.py | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ci/recipe/meta.yaml b/ci/recipe/meta.yaml index faa92021e..6415b54a3 100644 --- a/ci/recipe/meta.yaml +++ b/ci/recipe/meta.yaml @@ -34,7 +34,7 @@ requirements: - gsw - lxml - mache >=1.11.0 - - matplotlib-base >=3.6.0 + - matplotlib-base >=3.6.0,!=3.7.2 - mpas_tools >=0.16.0 - nco >=4.8.1 - netcdf4 diff --git a/dev-spec.txt b/dev-spec.txt index 20bb16fd2..27fbe93b3 100644 --- a/dev-spec.txt +++ b/dev-spec.txt @@ -15,7 +15,9 @@ geometric_features>=1.2.0 gsw lxml mache >=1.11.0 -matplotlib-base>=3.6.0 +# 3.7.2 contains a bug with tight layouts and insets +# https://github.com/matplotlib/matplotlib/pull/26291 +matplotlib-base>=3.6.0,!=3.7.2 mpas_tools>=0.16.0 nco>=4.8.1 netcdf4 diff --git a/setup.py b/setup.py index 540a38b2b..096e280cf 100755 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ 'dask', 'gsw', 'lxml', - 'matplotlib >=3.6.0', + 'matplotlib >=3.6.0,!=3.7.2', 'netcdf4', 'numpy', 'pandas',