CADETProcess.plotting.set_layout#
- CADETProcess.plotting.set_layout(ax: Axes, layout: Layout, show_legend: bool = True, ax_secondary: SecondaryAxis | None = None, secondary_layout: Layout | None = None) None[source]#
Configure the layout of a matplotlib Axes object.
- Parameters:
- axAxes
The primary matplotlib Axes object to configure.
- layoutLayout
Layout object containing axis labels, limits, title, and ticks.
- show_legendbool, optional
Whether to display the legend. Default is True.
- ax_secondaryOptional[SecondaryAxis], optional
The secondary Axes object, if applicable.
- secondary_layoutOptional[Layout], optional
Layout object for the secondary axis, if applicable.