python - 无法替换值以更正此 mplDeprecation
问题描述
from mpl_toolkits.axes_grid.anchored_artists import AnchoredText
.local/lib/python3.6/site-packages/matplotlib/cbook/deprecation.py:107:MatplotlibDeprecationWarning:mpl_toolkits.axes_grid 模块在 2.1 版中已弃用。使用 mpl_toolkits.axes_grid1 和 mpl_toolkits.axisartist 提供相同的功能。警告.warn(消息,mplDeprecation,stacklevel = 1)python /home/mmt/RealEstate/predict.py
解决方案
这里没有真正的问题;但据说你想
from matplotlib.offsetbox import AnchoredText
推荐阅读
- scala - JDK升级NoClassDefFoundError后未加载gradle测试依赖项
- java - 在 Java 中解析通过 TCP 发送的字节数组
- jestjs - 当 beforeEach 钩子中的某些值是虚假的时,如何跳过测试用例?
- keras - 无法导入最新版本的包:Google Colab
- python - Scipy 给出了错误的矩阵乘法结果
- java - 解决 '^M' 或 '\r' 字符行结尾的最佳位置/阶段
- python - 安装python3-dev时的问题
- java - 调用远程soap服务(javax.xml.ws)时获取NullPointerException
- maven - Maven-checktyle-plugin 忽略配置中的排除项
- docker - CMake - Docker容器内的VS 2013编译检查失败