boilercv_pipeline.plotting

boilercv_pipeline.plotting#

Plot operations.

Module Contents#

Functions#

get_cat_colorbar

Get categorical colorbar.

save_plots

Save a DataFrame to HDF5 format.

API#

boilercv_pipeline.plotting.get_cat_colorbar(
ax: matplotlib.axes.Axes,
col: str,
palette: str,
data: pandas.DataFrame,
alpha: float = 1.0,
) tuple[list[tuple[float, float, float]], pandas.DataFrame]#

Get categorical colorbar.

boilercv_pipeline.plotting.save_plots(
plots: pydantic.BaseModel,
path: pathlib.Path,
suffix: str = '',
)#

Save a DataFrame to HDF5 format.