自从我安装了最新版本的 matplotlib (1.5.1) 后,当我尝试使用 datetime
作为 X 绘制值时出现以下错误。
DeprecationWarning: Using both 'count' and 'until' is inconsistent with RFC 2445 and has been deprecated in dateutil. Future versions will raise an error.
有人遇到过这个错误,并且知道如何改正吗?
最佳答案
该问题已在 matplotlib 上修复,但未在最终版本 (>= 1.5.2) 中发布
我必须安装当前可用的版本
pip install git+https://github.com/matplotlib/matplotlib
关于python - matplotlib 和 dateutil 的弃用警告,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36033095/