Skip to content

mecfs_bio.figures.key_scripts.generate_figures

Use the build system to generate the figure assets, then copy them to the figure directory.

Functions:

  • generate_figures

    Use the build system to generate the figure assets, then copy them to the figure directory.

Attributes:

FIGURE_EXPORTER module-attribute

FIGURE_EXPORTER = FigureExporter(
    runner=_runner_func, tracer=_imo_hasher_128
)

generate_figures

generate_figures(tasks: list[Task])

Use the build system to generate the figure assets, then copy them to the figure directory.

Source code in mecfs_bio/figures/key_scripts/generate_figures.py
def generate_figures(tasks: list[Task]):
    """
    Use the build system to generate the figure assets, then copy them to the figure directory.
    """
    FIGURE_EXPORTER.export(tasks, fig_dir=FIGURE_DIRECTORY)