Skip to content

Commit cebfae2

Browse files
committed
update tests
1 parent 87501d8 commit cebfae2

File tree

1 file changed

+32
-16
lines changed

1 file changed

+32
-16
lines changed

plotly/tests/test_core/test_tools/test_make_subplots.py

Lines changed: 32 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1226,7 +1226,8 @@ def test_shared_xaxes():
12261226
),
12271227
yaxis1=YAxis(
12281228
domain=[0.575, 1.0],
1229-
anchor='free'
1229+
anchor='free',
1230+
position=0.0
12301231
),
12311232
yaxis2=YAxis(
12321233
domain=[0.575, 1.0],
@@ -1286,7 +1287,8 @@ def test_shared_xaxes_bottom_left():
12861287
),
12871288
yaxis4=YAxis(
12881289
domain=[0.575, 1.0],
1289-
anchor='free'
1290+
anchor='free',
1291+
position=0.0
12901292
),
12911293
yaxis5=YAxis(
12921294
domain=[0.575, 1.0],
@@ -1389,7 +1391,8 @@ def test_shared_yaxes():
13891391
),
13901392
xaxis10=XAxis(
13911393
domain=[0.55, 1.0],
1392-
anchor='free'
1394+
anchor='free',
1395+
position=0.0
13931396
),
13941397
xaxis2=XAxis(
13951398
domain=[0.55, 1.0],
@@ -1463,19 +1466,23 @@ def test_shared_xaxes_yaxes():
14631466
),
14641467
xaxis2=XAxis(
14651468
domain=[0.35555555555555557, 0.6444444444444445],
1466-
anchor='free'
1469+
anchor='free',
1470+
position=0.0
14671471
),
14681472
xaxis3=XAxis(
14691473
domain=[0.7111111111111111, 1.0],
1470-
anchor='free'
1474+
anchor='free',
1475+
position=0.0
14711476
),
14721477
yaxis1=YAxis(
14731478
domain=[0.7333333333333333, 1.0],
1474-
anchor='free'
1479+
anchor='free',
1480+
position=0.0
14751481
),
14761482
yaxis2=YAxis(
14771483
domain=[0.36666666666666664, 0.6333333333333333],
1478-
anchor='free'
1484+
anchor='free',
1485+
position=0.0
14791486
),
14801487
yaxis3=YAxis(
14811488
domain=[0.0, 0.26666666666666666],
@@ -1499,23 +1506,27 @@ def test_shared_xaxes_yaxes_bottom_left():
14991506
),
15001507
xaxis2=XAxis(
15011508
domain=[0.35555555555555557, 0.6444444444444445],
1502-
anchor='free'
1509+
anchor='free',
1510+
position=0.0
15031511
),
15041512
xaxis3=XAxis(
15051513
domain=[0.7111111111111111, 1.0],
1506-
anchor='free'
1514+
anchor='free',
1515+
position=0.0
15071516
),
15081517
yaxis1=YAxis(
15091518
domain=[0.0, 0.26666666666666666],
15101519
anchor='x1'
15111520
),
15121521
yaxis2=YAxis(
15131522
domain=[0.36666666666666664, 0.6333333333333333],
1514-
anchor='free'
1523+
anchor='free',
1524+
position=0.0
15151525
),
15161526
yaxis3=YAxis(
15171527
domain=[0.7333333333333333, 1.0],
1518-
anchor='free'
1528+
anchor='free',
1529+
position=0.0
15191530
)
15201531
)
15211532
)
@@ -1548,7 +1559,8 @@ def test_shared_axes_list():
15481559
),
15491560
yaxis2=YAxis(
15501561
domain=[0.0, 0.425],
1551-
anchor='free'
1562+
anchor='free',
1563+
position=0.0
15521564
),
15531565
yaxis3=YAxis(
15541566
domain=[0.0, 0.425],
@@ -1572,7 +1584,8 @@ def test_shared_axes_list_bottom_left():
15721584
),
15731585
xaxis2=XAxis(
15741586
domain=[0.55, 1.0],
1575-
anchor='free'
1587+
anchor='free',
1588+
position=0.0
15761589
),
15771590
xaxis3=XAxis(
15781591
domain=[0.55, 1.0],
@@ -1584,7 +1597,8 @@ def test_shared_axes_list_bottom_left():
15841597
),
15851598
yaxis2=YAxis(
15861599
domain=[0.575, 1.0],
1587-
anchor='free'
1600+
anchor='free',
1601+
position=0.0
15881602
),
15891603
yaxis3=YAxis(
15901604
domain=[0.575, 1.0],
@@ -1633,7 +1647,8 @@ def test_shared_axes_list_of_lists():
16331647
),
16341648
yaxis4=YAxis(
16351649
domain=[0.0, 0.425],
1636-
anchor='free'
1650+
anchor='free',
1651+
position=0.0
16371652
),
16381653
yaxis5=YAxis(
16391654
domain=[0.0, 0.425],
@@ -1687,7 +1702,8 @@ def test_shared_axes_list_of_lists_bottom_left():
16871702
),
16881703
yaxis4=YAxis(
16891704
domain=[0.575, 1.0],
1690-
anchor='free'
1705+
anchor='free',
1706+
position=0.0
16911707
),
16921708
yaxis5=YAxis(
16931709
domain=[0.575, 1.0],

0 commit comments

Comments
 (0)