Skip to content

Commit d700152

Browse files
ivanovdmcdougall
authored andcommitted
move to the new MatplotlibDeprecationWarning
1 parent 2ac7b88 commit d700152

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/mpl.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import warnings
2+
from matplotlib import MatplotlibDeprecationWarning as mDeprecation
23
warnings.warn(
34
"matplotlib.mpl is deprecated and will be removed in the next release."
4-
"Please use `import matplotlib as mpl` instead",
5-
DeprecationWarning)
5+
"Please use `import matplotlib as mpl` instead", mDeprecation)
66
from matplotlib import artist
77
from matplotlib import axis
88
from matplotlib import axes

0 commit comments

Comments
 (0)