hide_legend#

Spectral.hide_legend(solution_name=True, trace_name=True, variation_key=True, font_size=1)[source]#

Hide the Legend.

Parameters:
solution_namebool, optional

Whether to show or hide the solution name. Default is True.

trace_namebool, optional

Whether to show or hide the trace name. Default is True.

variation_keybool, optional

Whether to show or hide the variations. Default is True.

font_sizeint

Font size. The default is 1.

Returns:
bool

True when successful, False when failed.