src.superphot_plus.plotting.format_params

This module introduces uniform plot formatting and parameter label generation.

Module Contents

Functions

set_global_plot_formatting()

Set formatting that affects all subsequent plots.

band_colors(c)

Return face and edge colors for light curve plotting.

param_labels([aux_bands, ref_band, log])

Return properly formatted parameter labels

Attributes

CUSTOM_COLORSET

CUSTOM_COLORSET = ['#4477AA', '#EE6677', '#228833', '#CCBB44', '#66CCEE', '#AA3377', '#BBBBBB'][source]
set_global_plot_formatting()[source]

Set formatting that affects all subsequent plots.

band_colors(c)[source]

Return face and edge colors for light curve plotting.

param_labels(aux_bands=None, ref_band=None, log=True)[source]

Return properly formatted parameter labels for plotting.

Parameters:

aux_bands (array-like, optional) – The auxiliary bands for naming, in order. Defaults to None, in which case we assume only the base band.

Returns:

plot_labels – All properly formatted plotting labels.

Return type:

list