docstr: Only relevant in conjunction with `xsizemode` set to "pixel".
  Specifies the anchor point on the x axis to which `x0`, `x1`
  and x coordinates within `path` are relative to. E.g. useful to
  attach a pixel sized shape to a certain data value. No effect
  when `xsizemode` not set to "pixel".
  
  The 'xanchor' property accepts values of any type
  
  Returns
  -------
  Any
code: def xanchor(self):
      """
      Only relevant in conjunction with `xsizemode` set to "pixel".
      Specifies the anchor point on the x axis to which `x0`, `x1`
      and x coordinates within `path` are relative to. E.g. useful to
      attach a pixel sized shape to a certain data value. No effect
      when `xsizemode` not set to "pixel".
  
      The 'xanchor' property accepts values of any type
  
      Returns
      -------
      Any
      """
      return self["xanchor"]
  
imports: from plotly.basedatatypes import BaseLayoutHierarchyType
  import copy
label_desc: Use image node_id 41 for calling the Shape obj's underlying member method code with example usage: obj.xanchor() and returns: self