docstr: Turns on/off margin expansion computations. Legends, colorbars,
  updatemenus, sliders, axis rangeselector and rangeslider are
  allowed to push the margins by defaults.
  
  The 'autoexpand' property must be specified as a bool
  (either True, or False)
  
  Returns
  -------
  bool
docstr_tok: ["Turns","on\/off","margin","expansion","computations",".","Legends",",","colorbars",",","updatemenus",",","sliders",",","axis","rangeselector","and","rangeslider","are","allowed","to","push","the","margins","by","defaults",".","The","'autoexpand","'","property","must","be","specified","as","a","bool","(","either","True",",","or","False",")","Returns","--","--","--","-","bool"]
code: def autoexpand(self):
      """
      Turns on/off margin expansion computations. Legends, colorbars,
      updatemenus, sliders, axis rangeselector and rangeslider are
      allowed to push the margins by defaults.
  
      The 'autoexpand' property must be specified as a bool
      (either True, or False)
  
      Returns
      -------
      bool
      """
      return self["autoexpand"]
  
file_path: catboost/contrib/python/plotly/py3/plotly/graph_objs/layout/_margin.py
imports: from plotly.basedatatypes import BaseLayoutHierarchyType
  import copy
label_desc: Use image node_id 1 for calling the Margin obj's underlying member method code with example usage: obj.autoexpand() and returns: self