docstr: Sets the orientation of the legend.
  
  The 'orientation' property is an enumeration that may be specified as:
    - One of the following enumeration values:
          ['v', 'h']
  
  Returns
  -------
  Any
docstr_tok: ["Sets","the","orientation","of","the","legend",".","The","'orientation","'","property","is","an","enumeration","that","may","be","specified","as",":","-","One","of","the","following","enumeration","values",":","[","'","v","'",",","'","h","'","]","Returns","--","--","--","-","Any"]
code: def orientation(self):
      """
      Sets the orientation of the legend.
  
      The 'orientation' property is an enumeration that may be specified as:
        - One of the following enumeration values:
              ['v', 'h']
  
      Returns
      -------
      Any
      """
      return self["orientation"]
  
imports: from plotly.basedatatypes import BaseLayoutHierarchyType
  import copy
label_desc: Use image node_id 17 for calling the Legend obj's underlying member method code with example usage: obj.orientation() and returns: self