Re: save plot in python babel

2020-08-26 Thread Jeremie Juste
Hello Jack, Many thanks for having taken the time to reply. I'll definitely try ob-jupyter. > > My goal is to make ob-python a serious alternative to these external > ob-* packages eventually. Here are some of the improvements I have in > mind: > > - Improved plotting > - Support for pandas Data

Re: save plot in python babel

2020-08-25 Thread Jack Kamm
Hi Jeremie, > I tried to look around and noticed that the documentation regarding > python with org-mode is aging a bit... Any help will be > appreciated. I'll be ready to improve the documentation of org-babel > python setup as soon as I'm more familiar with it myself. Historically ob-python ha

save plot in python babel

2020-08-25 Thread Jeremie Juste
Hello, I've barely use python with org-mode and I would need some help with the python setup. I somehow have some trouble saving python plots. Is this the right way to do it? #+begin_src python :results output file link :file myfig1.pdf :session *Python* import matplotlib import numpy as