Skip to contents

Python/matplotlib wrapper for plotting emulator results. This function calls the underlying Python plotting function and returns matplotlib figure objects.

Note: For native R plotting with ggplot2, use plot_prevalence() or plot_cases() instead.

Usage

plot_emulator_results_mpl(results, output_dir = NULL, ...)

Arguments

results

Results from run_malaria_emulator() or similar.

output_dir

Character. Directory to save plots.

...

Additional arguments passed to the Python function.

Value

Matplotlib figure objects (Python objects). These can be saved to files but are not directly viewable in R graphics devices.

See also