Jupyter labでモジュールを自動的にリロードする際の設定
$ ipython3 profile create [ProfileCreate] Generating default config file: '/home/jake/.ipython/profile_default/ipython_config.py' [ProfileCreate] Generating default config file: '/home/jake/.ipython/profile_default/ipython_kernel_config.py' vim ~/.ipython/profile_default/ipython_config.py c.InteractiveShellApp.extensions = ['autoreload'] c.InteractiveShellApp.exec_lines = ['%autoreload 2']
from IPython.lib.deepreload import reload %load_ext autoreload %autoreload 2