loadest_gp.plot#

Plotting functions

Classes

LoadestPlotMixin()

Mixin plotting functions for Model class

class loadest_gp.plot.LoadestPlotMixin#

Mixin plotting functions for Model class

contourf(covariate: str = 'flow', ax: Axes | None = None, cbar_kwargs: Dict | None = None, y_scale: str = 'log', **kwargs)#

Plot contourf

TODO: plot any pair of variables on x and y axes.

Parameters:
  • covariate (str) – Covariate to plot.

  • ax (Axes, optional) – Pre-defined matplotlib axes.

  • cbar_kwargs (dict, optional) – Colorbar keyword arguments. The default is None.

  • y_scale (str, optional) – y-axis scale. The default is “log”.

  • kwargs (dict) – Contourf keyword arguments.

plot_flux(covariates: Dataset, ax: Axes | None = None)#

Plot predicted flux versus time.

Parameters:
  • covariates (Dataset) – Covariates.

  • ax (Axes, optional) – Pre-defined matplotlib axes.

Returns:

ax – Generated matplotlib axes.

Return type:

Axes