hpvsim.plotting module

Core plotting functions for simulations, multisims, and scenarios.

plot_sim(to_plot=None, sim=None, do_save=None, fig_path=None, fig_args=None, plot_args=None, scatter_args=None, axis_args=None, fill_args=None, legend_args=None, date_args=None, show_args=None, style_args=None, n_cols=None, grid=True, commaticks=True, setylim=True, log_scale=False, colors=None, labels=None, do_show=None, sep_figs=False, fig=None, ax=None, plot_burnin=False, **kwargs)[source]

Plot the results of a single simulation – see Sim.plot() for documentation

plot_scens(to_plot=None, scens=None, do_save=None, fig_path=None, fig_args=None, plot_args=None, scatter_args=None, axis_args=None, fill_args=None, legend_args=None, date_args=None, show_args=None, style_args=None, n_cols=None, grid=False, commaticks=True, setylim=True, log_scale=False, colors=None, labels=None, do_show=None, sep_figs=False, fig=None, ax=None, plot_burnin=False, **kwargs)[source]

Plot the results of a scenario – see Scenarios.plot() for documentation

plot_scen_age_results(analyzer_ref=0, to_plot=None, scens=None, do_save=None, fig_path=None, fig_args=None, plot_args=None, scatter_args=None, axis_args=None, fill_args=None, legend_args=None, date_args=None, show_args=None, style_args=None, n_cols=None, grid=False, commaticks=True, setylim=True, log_scale=False, colors=None, labels=None, do_show=None, sep_figs=False, fig=None, ax=None, plot_burnin=False, plot_type='sns.boxplot', **kwargs)[source]

Plot age results of a scenario

plot_result(key, sim=None, fig_args=None, plot_args=None, axis_args=None, scatter_args=None, date_args=None, style_args=None, grid=False, commaticks=True, setylim=True, color=None, label=None, do_show=None, do_save=False, fig_path=None, fig=None, ax=None, plot_burnin=False, **kwargs)[source]

Plot a single result – see hpv.Sim.plot_result() for documentation

plot_people(people, bins=None, width=1.0, alpha=0.6, fig_args=None, axis_args=None, plot_args=None, style_args=None, do_show=None, fig=None)[source]

Plot statistics of a population – see People.plot() for documentation