Replies: 2 comments 1 reply
-
From the reference guide, those options aren't valid options for Jupyter engine (https://quarto.org/docs/reference/cells/cells-jupyter.html). Currently, the options are only used for matplotlib rcParams I do not think there is a way to read from code cell options before evaluating the code cell (not even sure a Lua filter will intervene at the proper time to deal with that). |
Beta Was this translation helpful? Give feedback.
0 replies
-
I know that, but setting the figure size per chunk is straightforward with the knitr engine so my question is about accessing chunk options inside the chunk to emulate that ability. The code is only intended to convey the desired linkage... please focus on the question if you cannot follow the gist of the code.
…On September 23, 2022 6:41:03 PM PDT, "Mickaël Canouil" ***@***.***> wrote:
From the reference guide, those options aren't valid options for Jupyter engine (<https://quarto.org/docs/reference/cells/cells-jupyter.html>).
--
Sent from my phone. Please excuse my brevity.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to refer to chunk options in a python chunk?
Hypothetical use case would be for managing fig-width and fig-height on a per-chunk basis in a manner consistent with the yml header. See hypothetical code below:
Beta Was this translation helpful? Give feedback.
All reactions