CADETProcess.plotting.add_text

Contents

CADETProcess.plotting.add_text#

CADETProcess.plotting.add_text(ax: Axes, text: str, position: tuple[float, float] = (0.05, 0.9), tb_props: Any | None = None, **kwargs: dict | None) None[source]#

Add text to a matplotlib Axes object.

Parameters:
axAxes

The matplotlib Axes object to add text to.

textstr

The text to be added.

positiontuple[float], optional

The position of the text, default is (0.05, 0.9).

tb_propsOptional[Any], optional

Properties to update the textbox with.

**kwargsOptional[dict]

Additional keyword arguments for text customization.