plt.plot(input_data,predict_value)

plt.plot()有值,出现空图

print值之后,值是正确的,但图像就是无法显示

出现的问题是设置的plot的线段属性有问题,不显示‘-’和‘--’,改成‘o’或‘^’即可运行了

plt.plot(input_data,predict_value,'bo')

plt.plot()有值,出现空图

 

相关文章:

  • 2021-09-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-04
  • 2021-06-26
  • 2021-04-26
  • 2021-10-09
猜你喜欢
  • 2021-07-02
  • 2022-12-23
  • 2021-09-24
  • 2022-12-23
  • 2022-12-23
  • 2021-06-18
  • 2021-08-11
相关资源
相似解决方案