edit_legend#
- EMIReceiver.edit_legend(show_solution_name=True, show_variation_key=True, show_trace_name=True, back_color=(255, 255, 255), font_color=(0, 0, 0))#
Edit the plot legend.
- Parameters:
- show_solution_namebool,
optional
Whether to show the solution name. The default is
True
.- show_variation_keybool,
optional
Whether to show the variation key. The default is
True
.- show_trace_namebool,
optional
Whether to show the trace name. The default is
True
.- back_color
tuple
,optional
Background (R, G, B) color. The default is
(255, 255, 255)
. Each color value must be an integer in a range from 0 to 255.- font_color
tuple
,optional
Legend font (R, G, B) color. The default is
(0, 0, 0)
. Each color value must be an integer in a range from 0 to 255.
- show_solution_namebool,
- Returns:
- bool
True
when successful,False
when failed.