zeppelin记事本中的Python matplotlib.pyplot

问题描述 投票:0回答:1

当我试图绘制时间序列数据得到以下误差:

dataframe包含一个日期时间索引,一个值列是浮点类型视图限制最小值小于1并且是无效的matplotlib日期值

怎么解决这个?

python matplotlib forecasting
1个回答
0
投票

我遇到了非常类似的问题,导致我这个jira bug https://issues.apache.org/jira/browse/ZEPPELIN-4096,开发人员建议使用ipython而不是python解释器进行绘图。

尝试

%sh 
pip install jupyter 

然后

%python.ipython
# plot here 

为我工作

© www.soinside.com 2019 - 2024. All rights reserved.