1、安装插件:pip install jupyter

2、打开jupyter界面:jupyter notebook

Jupyter Notebook 快速入门
    回车两次后

Jupyter Notebook 快速入门

3、新建一个 notebook,只需要点击New,选择你希望启动的 notebook 类型即可。我的只有python3

Jupyter Notebook 快速入门

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)

Jupyter Notebook 快速入门

相关文章:

  • 2021-08-11
  • 2021-04-09
  • 2022-12-23
  • 2018-01-28
  • 2021-07-09
  • 2022-12-23
  • 2022-01-20
猜你喜欢
  • 2022-01-13
  • 2021-04-26
  • 2021-09-12
相关资源
相似解决方案