Skip to content

Commit e9a586b

Browse files
ilan-goldmeeseeksmachine
authored andcommitted
Backport PR scverse#2138: fix: suppress matplotlib warnings
1 parent 23d48a0 commit e9a586b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,9 @@ filterwarnings = [
147147
"ignore:.*first_column_names:FutureWarning:scanpy", # scanpy 1.10.x
148148
"ignore:Importing read_.* from `anndata` is deprecated:FutureWarning:scanpy",
149149
"ignore:`__version__` is deprecated:FutureWarning:scanpy",
150+
# https://github.com/matplotlib/matplotlib/pull/30589
151+
"ignore:.*'(oneOf|parseString|resetCache|enablePackrat)'.*'(one_of|parse_string|reset_cache|enable_packrat)':DeprecationWarning:matplotlib",
152+
150153
]
151154
# When `--strict-warnings` is used, all warnings are treated as errors, except those:
152155
filterwarnings_when_strict = [

0 commit comments

Comments
 (0)