MCPcopy Index your code
hub / github.com/plotly/plotly.py / set_figure_layout

Method set_figure_layout

plotly/figure_factory/_dendrogram.py:292–310  ·  view source on GitHub ↗

Sets and returns default layout object for dendrogram figure.

(self, width, height)

Source from the content-addressed store, hash-verified

290 return self.layout[axis_key]
291
292 def set_figure_layout(self, width, height):
293 """
294 Sets and returns default layout object for dendrogram figure.
295
296 """
297 self.layout.update(
298 {
299 "showlegend": False,
300 "autosize": False,
301 "hovermode": "closest",
302 "width": width,
303 "height": height,
304 }
305 )
306
307 self.set_axis_layout(self.xaxis)
308 self.set_axis_layout(self.yaxis)
309
310 return self.layout
311
312 def get_dendrogram_traces(
313 self, X, colorscale, distfun, linkagefun, hovertext, color_threshold

Callers 1

__init__Method · 0.95

Calls 2

set_axis_layoutMethod · 0.95
updateMethod · 0.45

Tested by

no test coverage detected