sunpeek.common.plot_utils.PlotSettings#
- class sunpeek.common.plot_utils.PlotSettings(target=PlotTarget.print, with_interval_plots=False, anonymize=False, add_footer=True, include_creation_date=True)#
Bases:
object
Settings for PC Method plots & pdf report generation.
- Parameters:
target (
Union[PlotTarget
,str]
, optional) – Font sizes and some other settings depend on this. E.g. target == ‘presentation’ uses larger font size.with_interval_plots (
bool
, optional) – If True, full-resolution plots of each interval are produced. May result in quite a lot of pages, so not turned on by default.anonymize (
bool
, optional) – If True, plant and array names and some other information are anonymized, i.e. not stated explicitly in the plots / report.add_footer (
bool
, optional) – If True, a default footer is added to each plot (except for cover page).include_creation_date (
bool = field(default=True),
) – If True, the date the pdf report is generated is added to the cover page.
Methods
__init__
([target, with_interval_plots, ...])