'Sets and returns default layout object for dendrogram figure.'

def set_figure_layout(self, width, height):

    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
