Skip to content

Commit 0f9c40b

Browse files
committed
updated dendrogram tests for new hovertext addition to dend ff
1 parent b15d182 commit 0f9c40b

File tree

1 file changed

+30
-10
lines changed

1 file changed

+30
-10
lines changed

Diff for: plotly/tests/test_optional/test_figure_factory.py

+30-10
Original file line numberDiff line numberDiff line change
@@ -461,23 +461,29 @@ def test_default_dendrogram(self):
461461
marker=go.Marker(color='rgb(61,153,112)'),
462462
mode='lines',
463463
xaxis='x',
464-
yaxis='y'
464+
yaxis='y',
465+
hoverinfo='text',
466+
text=None
465467
),
466468
go.Scatter(
467469
x=np.array([15., 15., 30., 30.]),
468470
y=np.array([0., 2.23606798, 2.23606798, 1.]),
469471
marker=go.Marker(color='rgb(61,153,112)'),
470472
mode='lines',
471473
xaxis='x',
472-
yaxis='y'
474+
yaxis='y',
475+
hoverinfo='text',
476+
text=None
473477
),
474478
go.Scatter(
475479
x=np.array([5., 5., 22.5, 22.5]),
476480
y=np.array([0., 3.60555128, 3.60555128, 2.23606798]),
477481
marker=go.Marker(color='rgb(0,116,217)'),
478482
mode='lines',
479483
xaxis='x',
480-
yaxis='y'
484+
yaxis='y',
485+
hoverinfo='text',
486+
text=None
481487
)
482488
]),
483489
layout=go.Layout(
@@ -538,27 +544,35 @@ def test_dendrogram_random_matrix(self):
538544
marker=go.Marker(color='rgb(61,153,112)'),
539545
mode='lines',
540546
xaxis='x',
541-
yaxis='y'
547+
yaxis='y',
548+
hoverinfo='text',
549+
text=None
542550
),
543551
go.Scatter(
544552
marker=go.Marker(
545553
color='rgb(61,153,112)'
546554
),
547555
mode='lines',
548556
xaxis='x',
549-
yaxis='y'
557+
yaxis='y',
558+
hoverinfo='text',
559+
text=None
550560
),
551561
go.Scatter(
552562
marker=go.Marker(color='rgb(61,153,112)'),
553563
mode='lines',
554564
xaxis='x',
555-
yaxis='y'
565+
yaxis='y',
566+
hoverinfo='text',
567+
text=None
556568
),
557569
go.Scatter(
558570
marker=go.Marker(color='rgb(0,116,217)'),
559571
mode='lines',
560572
xaxis='x',
561-
yaxis='y'
573+
yaxis='y',
574+
hoverinfo='text',
575+
text=None
562576
)
563577
]),
564578
layout=go.Layout(
@@ -669,23 +683,29 @@ def test_dendrogram_colorscale(self):
669683
marker=go.Marker(color='rgb(128,128,128)'),
670684
mode='lines',
671685
xaxis='x',
672-
yaxis='y'
686+
yaxis='y',
687+
hoverinfo='text',
688+
text=None
673689
),
674690
go.Scatter(
675691
x=np.array([15., 15., 30., 30.]),
676692
y=np.array([0., 2.23606798, 2.23606798, 1.]),
677693
marker=go.Marker(color='rgb(128,128,128)'),
678694
mode='lines',
679695
xaxis='x',
680-
yaxis='y'
696+
yaxis='y',
697+
hoverinfo='text',
698+
text=None
681699
),
682700
go.Scatter(
683701
x=np.array([5., 5., 22.5, 22.5]),
684702
y=np.array([0., 3.60555128, 3.60555128, 2.23606798]),
685703
marker=go.Marker(color='rgb(0,0,0)'),
686704
mode='lines',
687705
xaxis='x',
688-
yaxis='y'
706+
yaxis='y',
707+
hoverinfo='text',
708+
text=None
689709
)
690710
]),
691711
layout=go.Layout(

0 commit comments

Comments
 (0)