Note This is a running update of this post (from 2009!)

Matplotlib webAGg

If use the webAgg can view plots easily remotely + get full interactive figures.

matplotlib.use("webAgg")

Virtual envs

Create virtual env in project for easy selection. E.g. in poetry.toml:

[virtualenvs]
in-project = true

then pyvenv-activate

Use ipython jupyter shell

In .dir-locals.el :

((python-mode .  ((python-shell-interpreter .  "jupyter")
		  (python-shell-interpreter-args . "console  --simple-prompt")
	      ))