graphinglib.SmartTwinAxis.__getitem__#

SmartTwinAxis.__getitem__(key: int) Plottable[source]#

Gives the element(s) at the specified key in the SmartTwinAxis’s list of elements.

Parameters:
keyint

The key specifying the location in the SmartTwinAxis to access.

Returns:
Plottable

The element at the specified key. If there is no element at the given key, an empty list is returned.