Open jkitchin opened 6 years ago
I, too, would find this a useful feature. I will see if I find some time to look into this.
This is all solved now in scimax in https://github.com/jkitchin/scimax/blob/master/scimax-org-babel-ipython-upstream.el. I would start looking around line 826.
There is a lot in this file. You might find this overview useful too: https://github.com/jkitchin/scimax/blob/master/scimax-ipython.org.
Thanks for the resource.
It looks like right now you can either get figures in the output if you use :results value, or the output of the block if you use :results output. I usually have both printed output and figure output from a single block that I want to capture. Is that possible in ob-ipython now? and if not, would you be interested in making :results output show the output and figures?
For some blocks there could be multiple outputs, e.g. plain text, html, latex, and or image output. Would you be interested in using a header argument to select the output?