docstr: Specifies the selection type to be drawn. If "rect", a
  rectangle is drawn linking (`x0`,`y0`), (`x1`,`y0`),
  (`x1`,`y1`) and (`x0`,`y1`). If "path", draw a custom SVG path
  using `path`.
  
  The 'type' property is an enumeration that may be specified as:
    - One of the following enumeration values:
          ['rect', 'path']
  
  Returns
  -------
  Any
docstr_tok: ["Specifies","the","selection","type","to","be","drawn",".","If","``","rect","''",",","a","rectangle","is","drawn","linking","(","`","x0","`",",","`","y0","`",")",",","(","`","x1","`",",","`","y0","`",")",",","(","`","x1","`",",","`","y1","`",")","and","(","`","x0","`",",","`","y1","`",")",".","If","``","path","''",",","draw","a","custom","SVG","path","using","`","path","`",".","The","'type","'","property","is","an","enumeration","that","may","be","specified","as",":","-","One","of","the","following","enumeration","values",":","[","'rect","'",",","'path","'","]","Returns","--","--","--","-","Any"]
code: def type(self):
      """
      Specifies the selection type to be drawn. If "rect", a
      rectangle is drawn linking (`x0`,`y0`), (`x1`,`y0`),
      (`x1`,`y1`) and (`x0`,`y1`). If "path", draw a custom SVG path
      using `path`.
  
      The 'type' property is an enumeration that may be specified as:
        - One of the following enumeration values:
              ['rect', 'path']
  
      Returns
      -------
      Any
      """
      return self["type"]
  
imports: from plotly.basedatatypes import BaseLayoutHierarchyType
  import copy
label_desc: Use image node_id 11 for calling the Selection obj's underlying member method code with example usage: obj.type() and returns: self