CADETProcess.plotting.annotate#
- CADETProcess.plotting.annotate(ax: Axes, text: str, xy: tuple[float, float], xytext: tuple[float, float], *, arrowstyle: str = '-|>', **kwargs: Any) None[source]#
Add an annotation to a matplotlib Axes object.
- Parameters:
- axplt.Axes
The matplotlib Axes object to annotate.
- textstr
The annotation text.
- xytuple[float, float]
The point (x, y) to annotate.
- xytexttuple[float, float]
The position (x, y) of the annotation text.
- arrowstylestr, default=”-|>”
Style of the arrow connecting xy and xytext.
- **kwargs
Additional keyword arguments for ax.annotate.