ValueError: view limit minimum -36833.200000000004 is less than 1 and is an invalid Matplotlib date value. This often happens if you pass a non-datetime value to an axis that has datetime units
这个问题在于
plt.show()执行时,坐标轴出行冲突
所以前面非datetime坐标轴的图单独绘制:
plt.show()
###
pandas.绘图板块
plt.show()
网友评论