md_files/自学/jupyter笔记本.md

28 lines
693 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# jupyter笔记本
### 如何打开jupyter
1. 打开anaconda navigator图形界面lauch jupyter
2. 打开cmd 敲 jupyter notebook
%matplotlib inline 使matplotlib绘制的图像嵌入在jupyter notebook单元格中
## 常用快捷键!
- esc进入命令模式 回车进入编辑模式
- 在命令模式下输入M可以进行markdown格式编写输入Y可以进行python代码编写
- shift+回车:运行当前代码块并跳转到下一块
- ctrl+回车:只运行当前代码块 不跳转
- B往下增加一行代码块
- A往上新加一行代码块
- DD删除一行
- L标一个代码块内的行数
- 公式撰写
$$
x=\frac{-b\pm \sqrt{b^2-4_ac}}{2a}
$$