修改conda的default working directory
- 命令行输入
jupyter lab --generate-config
,效果为在C:\Users\<username>\.jupyter
下创建配置文件jupyter_lab_config.py
- 修改该文件中的
c.ServerApp.root_dir
条目为想要的工作目录即可
interactive matplotlib
conda install -y nodejs
pip install ipympl
jupyter labextension install @jupyter-widgets/jupyterlab-manager
jupyter labextension install jupyter-matplotlib
jupyter nbextension enable --py widgetsnbextension
- Decorate with
%matplotlib widget