add article help for python output to org table

This commit is contained in:
2022-11-22 19:07:08 +01:00
parent fb08fd2c9a
commit d3a954e9c4

View File

@@ -336,6 +336,26 @@ Set caption with \LaTeX{} command
}%
#+end_export
*** From Python src block output
#+begin_src python :results output table :exports results :hlines yes
a = 1.362658
b = 'foo'
result = [
None ,
['b', f'_{b}_'] ,
[r'$R^{2}$',f'{a:.3f}'] ,
None ,
]
print(result)
#+end_src
#+RESULTS:
|---------+-------|
| b | _foo_ |
| $R^{2}$ | 1.363 |
|---------+-------|
** Figures
*** svg
#+NAME: fig-svg