code: def __init__(
      self,
      default_value=traitlets.Undefined,
      allow_none=False,
      **kwargs,
  ):
      super(Opacity, self).__init__(
          default_value=default_value,
          allow_none=allow_none,
          min=0.0,
          max=1.0,
          **kwargs,
      )
  
imports: import re
  import traitlets
  from .locations import locations_to_list
label_desc: Use image node_id 1 to create a new Opacity object from inherited base classes: traitlets with example: obj = Opacity(default_value, allow_none)