Skip to content

Commit 1dd65fd

Browse files
committed
🐛 fix CDCI pipeline (missing imports and 3.13. incompability)
1 parent 401d9e8 commit 1dd65fd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/vuecore/viz.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
from webweb import Web
3232
from wordcloud import STOPWORDS, WordCloud
3333

34-
from . import utils
34+
from . import dendrogram, utils, wgcna
3535
from .linkers import get_clustergrammer_link
3636
from .translate import hex2rgb, mpl_to_html_image
3737

@@ -2554,7 +2554,7 @@ def get_WGCNAPlots(data, identifier):
25542554
METDiss, METDiss.index, distfun=None, linkagefun="ward", div_clusters=False
25552555
)
25562556
if dendro_tree is not None:
2557-
dendrogram = dendrogram.plot_dendrogram(
2557+
dendrogram_ = dendrogram.plot_dendrogram(
25582558
dendro_tree, hang=0.9, cutoff_line=False
25592559
)
25602560

@@ -2566,8 +2566,8 @@ def get_WGCNAPlots(data, identifier):
25662566
xaxis=dict(
25672567
domain=[0, 1],
25682568
range=[
2569-
np.min(dendrogram["layout"]["xaxis"]["tickvals"]) - 6,
2570-
np.max(dendrogram["layout"]["xaxis"]["tickvals"]) + 4,
2569+
np.min(dendrogram_["layout"]["xaxis"]["tickvals"]) - 6,
2570+
np.max(dendrogram_["layout"]["xaxis"]["tickvals"]) + 4,
25712571
],
25722572
showgrid=False,
25732573
zeroline=True,
@@ -2631,7 +2631,7 @@ def get_WGCNAPlots(data, identifier):
26312631

26322632
figure = tools.make_subplots(rows=2, cols=1, print_grid=False)
26332633

2634-
for i in list(dendrogram["data"]):
2634+
for i in list(dendrogram_["data"]):
26352635
figure.append_trace(i, 1, 1)
26362636
for j in list(heatmap["data"]):
26372637
figure.append_trace(j, 2, 1)

0 commit comments

Comments
 (0)