[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] ob-python: support header argument `:results file graphics'
From: |
Jack Kamm |
Subject: |
Re: [PATCH] ob-python: support header argument `:results file graphics' |
Date: |
Thu, 13 Jul 2023 19:47:41 -0700 |
Ihor Radchenko <yantar92@posteo.net> writes:
> We may instead arrange org-lint and possibly ob-core to throw a
> warning when an src block uses confusing setting combinations.
> Without changing the underlying behaviour.
> Basically, discourage using confusing staff.
> ...
> We should update the docs to avoid such examples.
> ...
> We should generally rewrite that part of the manual, I think.
> My previous message was a tentative outline on how the things should be
> presented in the manual.
> ...
>> IMO the more technically correct approach is in the ob-python patch
>> that I proposed a couple years ago [2], and plan to revisit soon. In
>> that patch, ob-python ":results graphics output" will plot from
>> pyplot.gcf(), while ":results graphics value" will expect a
>> matplotlib.Figure object to be returned for plotting.
>
> Sounds reasonable. Let me know if you need any help along the way.
Thank you. And likewise, I agree with your suggestions to update
org-lint, org-manual, and Worg, and will try to help where I can. (I
might be a little slow to start due to other deadlines the next couple
weeks).
- Re: [PATCH] ob-python: support header argument `:results file graphics', (continued)
- 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
- Re: [PATCH] ob-python: support header argument `:results file graphics', Ihor Radchenko, 2023/07/09
- Re: [PATCH] ob-python: support header argument `:results file graphics', Jack Kamm, 2023/07/12
- Re: [PATCH] ob-python: support header argument `:results file graphics', Ihor Radchenko, 2023/07/12
- Re: [PATCH] ob-python: support header argument `:results file graphics',
Jack Kamm <=
- Re: [PATCH] ob-python: support header argument `:results file graphics', Liu Hui, 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', Jack Kamm, 2023/07/05