sunpeek.common.plot_utils.prepare_figure#

sunpeek.common.plot_utils.prepare_figure(settings=PlotSettings(target=<PlotTarget.print: 'print'>, with_interval_plots=False, anonymize=False, add_footer=True, include_creation_date=True), width=11.69, height=8.265998999999999, suppress_footer=False)#

Create default matplotlib figure in given dimensions, set backend, update rcParams, add footer.

Return type:

Tuple[Figure, dict]