CADETProcess.dynamicEvents.TimeLine.plot

Contents

CADETProcess.dynamicEvents.TimeLine.plot#

TimeLine.plot(x_axis_in_minutes: bool = True, ax: Axes | None = None, setup_figure_kwargs: dict | None = None) tuple[Figure, Axes][source]#

Plot the state of the timeline over time.

Parameters:
x_axis_in_minutes: bool, optional

If True, the x-axis will be plotted using minutes. The default is True.

axOptional[plt.Axes], default=None

Optional Matplotlib Axes. If not provided, a new figure is created.

setup_figure_kwargsOptional[dict], default=None

Additional options to setup the figure.

Returns:
tuple[plt.Figure, plt.Axes]

The Matplotlib Figure and Axes.