chirun-ncl / chirun

A Python package providing the command line interface for building flexible and accessible content with Chirun.
https://chirun.org.uk/
Other
29 stars 4 forks source link

Support figure output from Python runnable code #196

Open chrismgraham opened 9 months ago

chrismgraham commented 9 months ago

Could we get Chirun to output plots from runnable code? In Numbas we've managed to include preamble/postamble to catch when a figure exists.

I'm not sure what this would look like in slides view where the output is to the side of the input...

christianp commented 9 months ago

Support for R plots was added in #165, so there's just Python left to do.