jupyter lab matplotlib 画图

解决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   这行代码  !

原文地址:https://www.cnblogs.com/ZaneEli/p/11124848.html