docstr: Sets the y position with respect to `yref` (in normalized
  coordinates) of the legend. When `yref` is "paper", defaults to
  1 for vertical legends, defaults to "-0.1" for horizontal
  legends on graphs w/o range sliders and defaults to 1.1 for
  horizontal legends on graph with one or multiple range sliders.
  When `yref` is "container", defaults to 1. Must be between 0
  and 1 if `yref` is "container" and between "-2" and 3 if `yref`
  is "paper".
  
  The 'y' property is a number and may be specified as:
    - An int or float
  
  Returns
  -------
  int|float
docstr_tok: ["Sets","the","y","position","with","respect","to","`","yref","`","(","in","normalized","coordinates",")","of","the","legend",".","When","`","yref","`","is","``","paper","''",",","defaults","to","1","for","vertical","legends",",","defaults","to","``","-0.1","''","for","horizontal","legends","on","graphs","w\/o","range","sliders","and","defaults","to","1.1","for","horizontal","legends","on","graph","with","one","or","multiple","range","sliders",".","When","`","yref","`","is","``","container","''",",","defaults","to","1",".","Must","be","between","0","and","1","if","`","yref","`","is","``","container","''","and","between","``","-2","''","and","3","if","`","yref","`","is","``","paper","''",".","The","'","y","'","property","is","a","number","and","may","be","specified","as",":","-","An","int","or","float","Returns","--","--","--","-","int|float"]
code: def y(self):
      """
      Sets the y position with respect to `yref` (in normalized
      coordinates) of the legend. When `yref` is "paper", defaults to
      1 for vertical legends, defaults to "-0.1" for horizontal
      legends on graphs w/o range sliders and defaults to 1.1 for
      horizontal legends on graph with one or multiple range sliders.
      When `yref` is "container", defaults to 1. Must be between 0
      and 1 if `yref` is "container" and between "-2" and 3 if `yref`
      is "paper".
  
      The 'y' property is a number and may be specified as:
        - An int or float
  
      Returns
      -------
      int|float
      """
      return self["y"]
  
imports: from plotly.basedatatypes import BaseLayoutHierarchyType
  import copy
label_desc: Use image node_id 45 for calling the Legend obj's underlying member method code with example usage: obj.y() and returns: self