class_docstr: Refer to FigureFactory.create_dendrogram() for docstring.
class_docstr_tok: ["Refer","to","FigureFactory.create_dendrogram","(",")","for","docstring","."]
docstr: Sets and returns default layout object for dendrogram figure.
docstr_tok: ["Sets","and","returns","default","layout","object","for","dendrogram","figure","."]
code: def set_figure_layout(self, width, height):
      """
      Sets and returns default layout object for dendrogram figure.
  
      """
      self.layout.update(
          {
              "showlegend": False,
              "autosize": False,
              "hovermode": "closest",
              "width": width,
              "height": height,
          }
      )
  
      self.set_axis_layout(self.xaxis)
      self.set_axis_layout(self.yaxis)
  
      return self.layout
  
file_path: catboost/contrib/python/plotly/py3/plotly/figure_factory/_dendrogram.py
imports: from collections import OrderedDict
  from plotly import exceptions, optional_imports
  from plotly.graph_objs import graph_objs
label_desc: Use image node_id 4 for calling the _Dendrogram obj's underlying member method code with example usage: obj.set_figure_layout(width, height) and returns: self