Skip to content

Commit 78608a7

Browse files
committed
Last Tweak: Corrected formatting on expected scatter plot matrix in tests
1 parent 718dd71 commit 78608a7

File tree

1 file changed

+22
-18
lines changed

1 file changed

+22
-18
lines changed

plotly/tests/test_optional/test_figure_factory.py

Lines changed: 22 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -803,24 +803,28 @@ def test_scatter_plot_matrix_kwargs(self):
803803

804804
exp_scatter_plot_matrix = {
805805
'data': [{'marker': {'color': 'rgb(128.0, 0.0, 38.0)'},
806-
'showlegend': False,
807-
'type': 'histogram',
808-
'x': [2, -15, -2, 0],
809-
'xaxis': 'x1',
810-
'yaxis': 'y1'},
811-
{'marker': {'color': 'rgb(255.0, 255.0, 204.0)'},
812-
'showlegend': False,
813-
'type': 'histogram',
814-
'x': [6, 5],
815-
'xaxis': 'x1',
816-
'yaxis': 'y1'}],
817-
'layout': {'barmode': 'stack',
818-
'height': 1000,
819-
'showlegend': True,
820-
'title': 'Scatterplot Matrix',
821-
'width': 1000,
822-
'xaxis1': {'anchor': 'y1', 'domain': [0.0, 1.0], 'title': 'Numbers'},
823-
'yaxis1': {'anchor': 'x1', 'domain': [0.0, 1.0], 'title': 'Numbers'}}
806+
'showlegend': False,
807+
'type': 'histogram',
808+
'x': [2, -15, -2, 0],
809+
'xaxis': 'x1',
810+
'yaxis': 'y1'},
811+
{'marker': {'color': 'rgb(255.0, 255.0, 204.0)'},
812+
'showlegend': False,
813+
'type': 'histogram',
814+
'x': [6, 5],
815+
'xaxis': 'x1',
816+
'yaxis': 'y1'}],
817+
'layout': {'barmode': 'stack',
818+
'height': 1000,
819+
'showlegend': True,
820+
'title': 'Scatterplot Matrix',
821+
'width': 1000,
822+
'xaxis1': {'anchor': 'y1',
823+
'domain': [0.0, 1.0],
824+
'title': 'Numbers'},
825+
'yaxis1': {'anchor': 'x1',
826+
'domain': [0.0, 1.0],
827+
'title': 'Numbers'}}
824828
}
825829

826830
self.assert_dict_equal(test_scatter_plot_matrix['data'][0],

0 commit comments

Comments
 (0)