1、安装插件:pip install jupyter
2、打开jupyter界面:jupyter notebook
回车两次后
3、新建一个 notebook,只需要点击New,选择你希望启动的 notebook 类型即可。我的只有python3
4、Matplotlib 集成:pip install matplotlib
绘制方程式 y=x^2
import matplotlib.pyplot as plt
import numpy as np
x = np.arange(20)
y = x**2
plt.plot(x, y)