Skip to content

Commit 1cda01c

Browse files
committed
match shapes lists for test
1 parent b8c3856 commit 1cda01c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

plotly/tests/test_optional/test_figure_factory.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2091,8 +2091,8 @@ def test_valid_facet_grid_fig(self):
20912091
'layer': 'below',
20922092
'line': {'color': '#d0d0d0', 'width': 1},
20932093
'type': 'rect',
2094-
'x0': 0.5075,
2095-
'x1': 1.0,
2094+
'x0': 0.0,
2095+
'x1': 0.4925,
20962096
'xref': 'paper',
20972097
'y0': 1.005,
20982098
'y1': 1.05,
@@ -2101,12 +2101,12 @@ def test_valid_facet_grid_fig(self):
21012101
'layer': 'below',
21022102
'line': {'color': '#d0d0d0', 'width': 1},
21032103
'type': 'rect',
2104-
'x0': 0.0,
2105-
'x1': 0.4925,
2104+
'x0': 0.5075,
2105+
'x1': 1.0,
21062106
'xref': 'paper',
21072107
'y0': 1.005,
21082108
'y1': 1.05,
2109-
'yref': 'paper'}
2109+
'yref': 'paper'},
21102110
],
21112111
'showlegend': False,
21122112
'title': '',
@@ -2146,4 +2146,4 @@ def test_valid_facet_grid_fig(self):
21462146
}
21472147

21482148
self.assertEqual(test_facet_grid['data'], exp_facet_grid['data'])
2149-
self.assertEqual(test_facet_grid['layout'], exp_facet_grid['layout'])
2149+
self.assert_dict_equal(test_facet_grid['layout'], exp_facet_grid['layout'])

0 commit comments

Comments
 (0)