Skip to content

Commit 9c7be2c

Browse files
committed
Ignore shap PendingDeprecationWarning for deprecated matplotlib calls
1 parent 3d22aed commit 9c7be2c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pytest.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ filterwarnings =
3232
ignore:chol argument to CholLinearOperator should be a TriangularLinearOperator.*:DeprecationWarning:linear_operator.operators.chol_linear_operator
3333
; https://github.com/shap/shap/issues/4280 (fixed in shap>=0.51.0, but only available for Python 3.11+)
3434
ignore:Conversion of an array with ndim > 0 to a scalar is deprecated:DeprecationWarning:shap.explainers.other._maple
35+
; https://github.com/shap/shap/pull/5060
36+
ignore:The set_(bad|over|under) function will be deprecated.*:PendingDeprecationWarning:shap.plots.colors._colors
3537
; https://github.com/cornellius-gp/linear_operator/issues/131
3638
ignore:Sparse invariant checks are implicitly disabled.*:UserWarning:linear_operator
3739

0 commit comments

Comments
 (0)