解决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-09-05
  • 2022-01-20
  • 2021-12-26
  • 2021-12-04
猜你喜欢
  • 2021-10-18
  • 2021-06-04
  • 2022-01-04
  • 2021-03-29
  • 2021-05-16
  • 2021-06-27
相关资源
相似解决方案