docstr: Sets the width (in px or fraction) of the legend. Use 0 to size
  the entry based on the text width, when `entrywidthmode` is set
  to "pixels".
  
  The 'entrywidth' property is a number and may be specified as:
    - An int or float in the interval [0, inf]
  
  Returns
  -------
  int|float
code: def entrywidth(self):
      """
      Sets the width (in px or fraction) of the legend. Use 0 to size
      the entry based on the text width, when `entrywidthmode` is set
      to "pixels".
  
      The 'entrywidth' property is a number and may be specified as:
        - An int or float in the interval [0, inf]
  
      Returns
      -------
      int|float
      """
      return self["entrywidth"]
  
imports: from plotly.basedatatypes import BaseLayoutHierarchyType
  import copy
label_desc: Use image node_id 7 for calling the Legend obj's underlying member method code with example usage: obj.entrywidth() and returns: self