Skip to content
Permalink
Browse files

hide MatplotlibDeprecationWarning from the list of displayed warnings

  • Loading branch information...
sdpython committed Aug 15, 2017
1 parent 0933127 commit 93bf411c36b22ed502c0140a6543737fd8b7ecaa
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/pyquickhelper/pycode/default_filter_warning.py
@@ -119,4 +119,7 @@ def default_filter_warning(w):
return False
elif w.filename.endswith("_bootstrap_external.py"):
return False
elif "MatplotlibDeprecationWarning" in str(type(w.message)):
if "basemap" in w.filename:
return False
return True

0 comments on commit 93bf411

Please sign in to comment.
You can’t perform that action at this time.