From dbd9bf3f1085ddd3b21d0800539791101a667d47 Mon Sep 17 00:00:00 2001 From: Frostime Date: Wed, 17 Jan 2024 11:37:59 +0800 Subject: [PATCH] :bug: fix incompatible of `MatplotlibDeprecationWarning` --- aquarel/theme.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aquarel/theme.py b/aquarel/theme.py index 2481a10..6c6d81b 100644 --- a/aquarel/theme.py +++ b/aquarel/theme.py @@ -234,7 +234,7 @@ def __enter__(self): def __exit__(self, exc_type, exc_val, exc_tb): with warnings.catch_warnings(): - warnings.simplefilter("ignore", mpl.cbook.MatplotlibDeprecationWarning) + warnings.simplefilter("ignore", mpl.MatplotlibDeprecationWarning) mpl.rcParams.update(self.rcparams_orig) self.apply_transforms()