[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] ob-python: support header argument `:results file graphics'
From: |
Liu Hui |
Subject: |
[PATCH] ob-python: support header argument `:results file graphics' |
Date: |
Mon, 3 Jul 2023 12:31:17 +0800 |
Hi,
This patch adds graphics output support for ob-python via matplotlib.
Specifically, it allows to use header argument `:results file
graphics' as follows:
#+begin_src python :file "test.png" :results graphics file
import matplotlib.pyplot as plt
plt.plot([1,2,3,4,5])
#+end_src
The feature is described in the documentation as follows and has been
supported by ob-R, ob-julia, etc.
> ‘graphics’
> When used along with ‘file’ type, the result is a link to the file
> specified in ‘:file’ header argument.
0001-ob-python-support-header-argument-results-file-graph.patch
Description: Text Data
- [PATCH] ob-python: support header argument `:results file graphics',
Liu Hui <=
- Re: [PATCH] ob-python: support header argument `:results file graphics', Ihor Radchenko, 2023/07/03
- Re: [PATCH] ob-python: support header argument `:results file graphics', Liu Hui, 2023/07/03
- Re: [PATCH] ob-python: support header argument `:results file graphics', Ihor Radchenko, 2023/07/03
- Re: [PATCH] ob-python: support header argument `:results file graphics', Liu Hui, 2023/07/03
- Re: [PATCH] ob-python: support header argument `:results file graphics', Ihor Radchenko, 2023/07/04
- Re: [PATCH] ob-python: support header argument `:results file graphics', Jack Kamm, 2023/07/05
- Re: [PATCH] ob-python: support header argument `:results file graphics', Ihor Radchenko, 2023/07/05
- Re: [PATCH] ob-python: support header argument `:results file graphics', Jack Kamm, 2023/07/05
- Re: [PATCH] ob-python: support header argument `:results file graphics', Ihor Radchenko, 2023/07/07
- Re: [PATCH] ob-python: support header argument `:results file graphics', Jack Kamm, 2023/07/08