add_cartesian_y_marker#

Spectral.add_cartesian_y_marker(val, name=None, y_axis=1)[source]#

Add a cartesian Y marker.

Note

This method only works in graphical mode.

Parameters:
valstr, float

Value to apply with units.

namestr, optional

Marker name. The default is None.

y_axisstr, optional

Y axis. The default is "Y1".

Returns:
str

Marker name if created.