@property
def legendgroup(self):
    "\n        Sets the legend group for this trace. Traces part of the same\n        legend group hide/show at the same time when toggling legend\n        items.\n    \n        The 'legendgroup' property is a string and must be specified as:\n          - A string\n          - A number that will be converted to a string\n\n        Returns\n        -------\n        str\n        "
    return self['legendgroup']
Sets the legend group for this trace. Traces part of the same
legend group hide/show at the same time when toggling legend
items.

The 'legendgroup' property is a string and must be specified as:
  - A string
  - A number that will be converted to a string

Returns
-------
str
@property
def legendgroup(self):
    "\n        Sets the legend group for this trace. Traces part of the same\n        legend group hide/show at the same time when toggling legend\n        items.\n    \n        The 'legendgroup' property is a string and must be specified as:\n          - A string\n          - A number that will be converted to a string\n\n        Returns\n        -------\n        str\n        "
    return self['legendgroup']