Skip to content

Commit 41022a8

Browse files
Remove deprecated warn kwarg for matplotlib use (#35323)
The warn param has been deprecated in 3.2.1: https://matplotlib.org/3.2.1/api/prev_api_changes/api_changes_3.2.0.html#matplotlib-use
1 parent 7ae3098 commit 41022a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/util/_test_decorators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def safe_import(mod_name: str, min_version: Optional[str] = None):
9494
def _skip_if_no_mpl():
9595
mod = safe_import("matplotlib")
9696
if mod:
97-
mod.use("Agg", warn=True)
97+
mod.use("Agg")
9898
else:
9999
return True
100100

0 commit comments

Comments
 (0)