Skip to content

Commit 5c16ed5

Browse files
committed
Fixed changes
1 parent e8516bf commit 5c16ed5

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

app/streamlit_app.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ def compute_mapper_fig(mapper_plot, colors, node_size, cmap, _agg, agg_name):
620620
colors,
621621
node_size=node_size,
622622
agg=_agg,
623-
# title=[f"{agg_name} of {c}" for c in colors.columns],
623+
title=[f"{agg_name} of {c}" for c in colors.columns],
624624
cmap=cmap,
625625
width=600,
626626
height=600,
@@ -634,12 +634,10 @@ def mapper_figure_section(df_X, df_y, mapper_plot):
634634
colors = pd.concat([df_y, df_X], axis=1)
635635
mapper_fig = compute_mapper_fig(
636636
mapper_plot,
637-
# colors=colors,
638-
colors=colors.to_numpy(),
637+
colors=colors,
639638
node_size=1.0,
640639
_agg=agg,
641-
# cmap=["Jet", "Viridis", "Cividis"],
642-
cmap="Jet",
640+
cmap=["Jet", "Viridis", "Cividis"],
643641
agg_name=agg_name,
644642
)
645643
mapper_fig.update_layout(

0 commit comments

Comments
 (0)