plotting_kwargs#
- class plotting_kwargs(*args, **kwargs)[source]#
Bases:
objdict
A class to set and operate on plotting kwargs throughout synthpops.
- Parameters:
kwargs (dict) – dictionary of plotting parameters to be used.
Attributes
Dictionary of axis settings.
Methods
- set_figure_display_size(*args, **kwargs)[source]#
Update plotting kwargs with new calculated display sizes.
- Parameters:
kwargs (sc.objdict) – new values to update with
- Returns:
Updated kwargs and recalculating the display sizes.
- set_default_pop_pars()[source]#
Check if method has some key pop parameters to call on data. If not, use defaults and warn user of their use and value.
- make_title(suffix=None, override=False)[source]#
Create the title for the figure depending on the location information and if there already exists a preset title_prefix.
- Parameters:
suffix (str) – title suffix
override (bool) – If True, override the title_prefix already stored in self and create a new one.
- Returns:
None.
- property axis#
Dictionary of axis settings.