docstr: Determines the direction in which the buttons are laid out,
  whether in a dropdown menu or a row/column of buttons. For
  `left` and `up`, the buttons will still appear in left-to-right
  or top-to-bottom order respectively.
  
  The 'direction' property is an enumeration that may be specified as:
    - One of the following enumeration values:
          ['left', 'right', 'up', 'down']
  
  Returns
  -------
  Any
docstr_tok: ["Determines","the","direction","in","which","the","buttons","are","laid","out",",","whether","in","a","dropdown","menu","or","a","row\/column","of","buttons",".","For","`","left","`","and","`","up","`",",","the","buttons","will","still","appear","in","left-to-right","or","top-to-bottom","order","respectively",".","The","'direction","'","property","is","an","enumeration","that","may","be","specified","as",":","-","One","of","the","following","enumeration","values",":","[","'left","'",",","'right","'",",","'up","'",",","'down","'","]","Returns","--","--","--","-","Any"]
code: def direction(self):
      """
      Determines the direction in which the buttons are laid out,
      whether in a dropdown menu or a row/column of buttons. For
      `left` and `up`, the buttons will still appear in left-to-right
      or top-to-bottom order respectively.
  
      The 'direction' property is an enumeration that may be specified as:
        - One of the following enumeration values:
              ['left', 'right', 'up', 'down']
  
      Returns
      -------
      Any
      """
      return self["direction"]
  
imports: from plotly.basedatatypes import BaseLayoutHierarchyType
  import copy
label_desc: Use image node_id 13 for calling the Updatemenu obj's underlying member method code with example usage: obj.direction() and returns: self