add_note#

Spectral.add_note(text, x_position=0, y_position=0)[source]#

Add a note at a position.

Parameters:
textstr

Text of the note.

x_positionfloat, optional

x position of the note. The default is 0.0.

y_positionfloat, optional

y position of the note. The default is 0.0.

note_namestr, optional

Internal name of the note.

Returns:
bool

True when successful, False when failed.