Skip to content

Commit e1a8a56

Browse files
committed
MNT: Ignore matplotlib PendingDeprecationWarnings
Matplotlib 3.11 apparently decided that set_over()/set_under() will eventually be deprecated. We can't begin to use the new functions yet, so just suppress these warnings until 3.11 becomes our min version.
1 parent a126c6a commit e1a8a56

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
@@ -111,6 +111,9 @@ xfail_strict = true
111111
filterwarnings = [
112112
"error",
113113
"ignore:numpy.ndarray size changed:RuntimeWarning",
114+
# Nothing to be done now, need to wait until Matplotlib actually deprecates/removes
115+
"ignore:.*set_over.*:PendingDeprecationWarning",
116+
"ignore:.*set_under.*:PendingDeprecationWarning",
114117
# Numpy deprecation triggered by Pint: https://github.com/hgrecco/pint/pull/1880
115118
"ignore:Conversion of an array with ndim > 0 to a scalar is deprecated:DeprecationWarning:pint.facets.plain.quantity:575",
116119
# PyProj automatically dispatching for single point, will be waiting for NumPy 2.0 to address

0 commit comments

Comments
 (0)