-
-
Couldn't load subscription status.
- Fork 191
Closed
Description
Describe the bug
Clustergram is missing both dendrograms
To Reproduce
import dash_bio as dashbio
import pandas as pd
df = pd.read_csv(
'https://raw.githubusercontent.com/plotly/dash-bio-docs-files' +
'/master/clustergram_mtcars.tsv',
sep=' ', skiprows=4
).set_index('model')
data = df.values
fig = dashbio.Clustergram(
data=data,
color_threshold={'row': 150, 'col': 700},
column_labels=list(df.columns.values),
row_labels=list(df.index),
hidden_labels=['row'],
width=600
)
fig.show()
Note, this code throws a warning that could be relevant:
python3.8/site-packages/plotly/tools.py:461: DeprecationWarning:
plotly.tools.make_subplots is deprecated, please use plotly.subplots.make_subplots instead
Expected behavior
Should show the heatmap + side/top dendrograms
Screenshots
Python version: [e.g., 3.7.2]
3.8
Python environment (all installed packages in your current environment):
dash_bio 0.4.8
pandas 1.1.4
plotly 4.12.0
Additional context
The missing dendrograms also affect the "Clustergram Examples and Reference" page at https://dash.plotly.com/dash-bio/clustergram
Metadata
Metadata
Assignees
Labels
No labels
