Sets and returns default layout object for dendrogram figure.
(self, width, height)
| 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 |
no test coverage detected