docstr: Sets the legend's vertical position anchor This anchor binds
  the `y` position to the "top", "middle" or "bottom" of the
  legend. Value "auto" anchors legends at their bottom for `y`
  values less than or equal to 1/3, anchors legends to at their
  top for `y` values greater than or equal to 2/3 and anchors
  legends with respect to their middle otherwise.
  
  The 'yanchor' property is an enumeration that may be specified as:
    - One of the following enumeration values:
          ['auto', 'top', 'middle', 'bottom']
  
  Returns
  -------
  Any
docstr_tok: ["Sets","the","legend","'s","vertical","position","anchor","This","anchor","binds","the","`","y","`","position","to","the","``","top","''",",","``","middle","''","or","``","bottom","''","of","the","legend",".","Value","``","auto","''","anchors","legends","at","their","bottom","for","`","y","`","values","less","than","or","equal","to","1\/3",",","anchors","legends","to","at","their","top","for","`","y","`","values","greater","than","or","equal","to","2\/3","and","anchors","legends","with","respect","to","their","middle","otherwise",".","The","'yanchor","'","property","is","an","enumeration","that","may","be","specified","as",":","-","One","of","the","following","enumeration","values",":","[","'auto","'",",","'top","'",",","'middle","'",",","'bottom","'","]","Returns","--","--","--","-","Any"]
code: def yanchor(self):
      """
      Sets the legend's vertical position anchor This anchor binds
      the `y` position to the "top", "middle" or "bottom" of the
      legend. Value "auto" anchors legends at their bottom for `y`
      values less than or equal to 1/3, anchors legends to at their
      top for `y` values greater than or equal to 2/3 and anchors
      legends with respect to their middle otherwise.
  
      The 'yanchor' property is an enumeration that may be specified as:
        - One of the following enumeration values:
              ['auto', 'top', 'middle', 'bottom']
  
      Returns
      -------
      Any
      """
      return self["yanchor"]
  
imports: from plotly.basedatatypes import BaseLayoutHierarchyType
  import copy
label_desc: Use image node_id 47 for calling the Legend obj's underlying member method code with example usage: obj.yanchor() and returns: self