python - matplotlib 和 dateutil 的弃用警告

标签 python datetime matplotlib python-dateutil

自从我安装了最新版本的 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/

相关文章:

mysql - 如何在时间范围内按分钟分组并在 MySQL 中显示 0 值?

python - 如何将 UNIX 时间戳列表转换为 pandas 数据框中的日期时间对象列表?

python - Matplotlib - 为某些数据点绘制不同的颜色

python - 如何在 Jupyter Notebook 中的绘图旁边显示数据框

python - 为什么 Python 说 pow 只有 2 个参数

python - 使用 urllib3 进行身份验证

python - 在一周的不同时间打印

python - Django forloop索引操作

python - 实现从 Angular 到 Flask 的文件上传

python - 在 matplotlib 中为样本分配日期