Skip to content

Commit 423129e

Browse files
committed
fix(dendrogram): replaced scipy array by numpy array
1 parent 95cc3d0 commit 423129e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: packages/python/plotly/plotly/figure_factory/_dendrogram.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -343,10 +343,10 @@ def get_dendrogram_traces(
343343
color_threshold=color_threshold,
344344
)
345345

346-
icoord = scp.array(P["icoord"])
347-
dcoord = scp.array(P["dcoord"])
348-
ordered_labels = scp.array(P["ivl"])
349-
color_list = scp.array(P["color_list"])
346+
icoord = np.array(P["icoord"])
347+
dcoord = np.array(P["dcoord"])
348+
ordered_labels = np.array(P["ivl"])
349+
color_list = np.array(P["color_list"])
350350
colors = self.get_color_dict(colorscale)
351351

352352
trace_list = []

0 commit comments

Comments
 (0)