docstr: Sets the position of the label text relative to the new shape.
  Supported values for rectangles, circles and paths are *top
  left*, *top center*, *top right*, *middle left*, *middle
  center*, *middle right*, *bottom left*, *bottom center*, and
  *bottom right*. Supported values for lines are "start",
  "middle", and "end". Default: *middle center* for rectangles,
  circles, and paths; "middle" for lines.
  
  The 'textposition' property is an enumeration that may be specified as:
    - One of the following enumeration values:
          ['top left', 'top center', 'top right', 'middle left',
          'middle center', 'middle right', 'bottom left', 'bottom
          center', 'bottom right', 'start', 'middle', 'end']
  
  Returns
  -------
  Any
docstr_tok: ["Sets","the","position","of","the","label","text","relative","to","the","new","shape",".","Supported","values","for","rectangles",",","circles","and","paths","are","*","top","left","*",",","*","top","center","*",",","*","top","right","*",",","*","middle","left","*",",","*","middle","center","*",",","*","middle","right","*",",","*","bottom","left","*",",","*","bottom","center","*",",","and","*","bottom","right","*",".","Supported","values","for","lines","are","``","start","''",",","''","middle","''",",","and","``","end","''",".","Default",":","*","middle","center","*","for","rectangles",",","circles",",","and","paths",";","``","middle","''","for","lines",".","The","'textposition","'","property","is","an","enumeration","that","may","be","specified","as",":","-","One","of","the","following","enumeration","values",":","[","'top","left","'",",","'top","center","'",",","'top","right","'",",","'middle","left","'",",","'middle","center","'",",","'middle","right","'",",","'bottom","left","'",",","'bottom","center","'",",","'bottom","right","'",",","'start","'",",","'middle","'",",","'end","'","]","Returns","--","--","--","-","Any"]
code: def textposition(self):
      """
      Sets the position of the label text relative to the new shape.
      Supported values for rectangles, circles and paths are *top
      left*, *top center*, *top right*, *middle left*, *middle
      center*, *middle right*, *bottom left*, *bottom center*, and
      *bottom right*. Supported values for lines are "start",
      "middle", and "end". Default: *middle center* for rectangles,
      circles, and paths; "middle" for lines.
  
      The 'textposition' property is an enumeration that may be specified as:
        - One of the following enumeration values:
              ['top left', 'top center', 'top right', 'middle left',
              'middle center', 'middle right', 'bottom left', 'bottom
              center', 'bottom right', 'start', 'middle', 'end']
  
      Returns
      -------
      Any
      """
      return self["textposition"]
  
imports: from plotly.basedatatypes import BaseLayoutHierarchyType
  import copy
label_desc: Use image node_id 9 for calling the Label obj's underlying member method code with example usage: obj.textposition() and returns: self