jupyter notebook
- 生成配置文件jupyter_notebook_config.py(~/.jupyter下)
jupyter notebook --generate-config
- IP绑定
c.NotebookApp.ip = '0.0.0.0'
- 123456登录密码
c.NotebookApp.password = u'sha1:221c6c07dffe:3f32e1f85cc005ab507d308a325dd8b785303c69'
- 显示图表
%matplotlib inline
import matplotlib.pyplot as plt
a=[1,2,3]
plt.plot(a)
运行:jupyter notebook