plot_directive(name, arguments, options, ...) | Handle the plot directive. |
write_char(s) | |
runfile(fullpath) | Import a Python module from a path. |
out_of_date(original, derived) | Returns True if derivative is out-of-date wrt original, |
setup(app) | |
makefig(fullpath, code, outdir) | run a pyplot script and save the low and high res PNGs and a PDF in _static |
A special directive for including a matplotlib plot.
Given a path to a .py file, it includes the source code inline, then:
This directive supports all of the options of the image directive, except for target (since plot will add its own target).
Additionally, if the :include-source: option is provided, the literal source will be included inline, as well as a link to the source.
The set of file formats to generate can be specified with the plot_formats configuration variable.
Handle the plot directive.
Import a Python module from a path.