我正在使用 python 3.4 使用 matplotlib。当我启动我的程序时,我收到以下警告消息:
C:\Python34-32bits\lib\site-packages\matplotlib\cbook.py:123: MatplotlibDeprecationWarning: matplotlib.mpl 模块在 1.3 版中已弃用。改为使用
import matplotlib as mpl
。warnings.warn(消息,mplDeprecation,stacklevel=1)
据我所知,我不使用 mpl,我所有关于 matplotlib 的导入都是:
import matplotlib.pyplot as plt
import matplotlib.animation as animation
有什么我应该做的吗?