@property
def opacity(self):
    "\n        Sets the opacity of the trace.\n\n        The 'opacity' property is a number and may be specified as:\n          - An int or float in the interval [0, 1]\n\n        Returns\n        -------\n        int|float\n        "
    return self['opacity']
Sets the opacity of the trace.

The 'opacity' property is a number and may be specified as:
  - An int or float in the interval [0, 1]

Returns
-------
int|float
@property
def opacity(self):
    "\n        Sets the opacity of the trace.\n\n        The 'opacity' property is a number and may be specified as:\n          - An int or float in the interval [0, 1]\n\n        Returns\n        -------\n        int|float\n        "
    return self['opacity']