musicflower.plotting.grouplegend_kwargs
- musicflower.plotting.grouplegend_kwargs(group, groupname, name)[source]
Create kwargs to supply to a trace for grouping.
- Parameters:
group – an identifier for the group; used to populate value for ‘legendgroup’; must be specified if ‘groupname’ is specified
groupname – name of the group; used to populate value for ‘legendgrouptitle_text’ (if ‘name’ is specified) or ‘name’ (if ‘name’ is not explicitly specified)
name – name of the trace in legend; used to populate value for ‘name’
- Returns: