ibfoamrig.plot.AxisLabels#

class ibfoamrig.plot.AxisLabels(title=None, xlabel=None, ylabel=None)[source]#

Bases: object

Title and axis labels of a plot. None leaves a label unchanged.

Variables:
  • title (str | None) – Title of the axes.

  • xlabel (str | None) – Label of the horizontal axis.

  • ylabel (str | None) – Label of the vertical axis.

apply(ax)[source]#

Sets the labels that are not None on the axes.

Parameters:

ax (Axes) – Axes to apply the labels to.