graphinglib.SmartTwinAxis.add_elements#

SmartTwinAxis.add_elements(*elements: Plottable | None) Self[source]#

Adds one or more Plottable elements to the twin axis.

Parameters:
elementsPlottable

Elements to plot in the SmartTwinAxis. If None values are present, they are ignored and not added to the twin axis.

Returns:
Self

For convenience, the same SmartTwinAxis with the added elements.