解决jupyter lab   plt.plot()  不画图的问题

import matplotlib.pyplot as plt
%matplotlib inline           #insert this code           
plt.plot([1, 2, 3, 4])
plt.ylabel('some numbers')
plt.show()

加入 %matplotlib   这行代码  !

相关文章:

  • 2021-10-22
  • 2021-04-19
  • 2021-11-13
  • 2021-12-24
  • 2021-06-21
  • 2022-01-10
  • 2021-10-04
  • 2021-09-02
猜你喜欢
  • 2022-01-04
  • 2021-03-29
  • 2021-05-16
  • 2021-06-27
  • 2021-09-05
  • 2021-08-07
  • 2022-01-02
相关资源
相似解决方案