bluemira.codes.plasmod.api._plotting

Plotting for PLASMOD.

Functions

plot_default_profiles(...)

Plot a default set of profiles from a PLASMOD solver.

Module Contents

bluemira.codes.plasmod.api._plotting.plot_default_profiles(plasmod_solver: bluemira.codes.plasmod.Solver, *, show: bool = True, f: matplotlib.pyplot.Figure | None = None, ax: matplotlib.pyplot.Axes | None = None) tuple[matplotlib.pyplot.Figure, matplotlib.pyplot.Axes]

Plot a default set of profiles from a PLASMOD solver.

Parameters:
  • plasmod_solver (bluemira.codes.plasmod.Solver) – Solver for which to plot profiles

  • show (bool) – Whether or not to show the plot

  • f (matplotlib.pyplot.Figure | None) – Matplotlib figure

  • ax (matplotlib.pyplot.Axes | None) – Array of matplotlib Axes

Returns:

  • f – Matplotlib figure

  • ax – Array of matplotlib Axes

Return type:

tuple[matplotlib.pyplot.Figure, matplotlib.pyplot.Axes]