Skip to content

Commit ea2e7ad

Browse files
committed
update test_strip_style to new graph ref 'val_types'
1 parent e7f6801 commit ea2e7ad

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

Diff for: plotly/tests/test_core/test_graph_objs/test_strip_style.py

+12-1
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ def test_strip_style():
100100
Scatter(
101101
x=[52698, 43117],
102102
y=[53, 31],
103+
mode='markers',
103104
name='North America',
104105
text=['United States', 'Canada'],
105106
marker=Marker(
@@ -109,6 +110,7 @@ def test_strip_style():
109110
Scatter(
110111
x=[39317, 37236, 35650, 30066, 29570, 27159, 23557, 21046, 18007],
111112
y=[33, 20, 13, 19, 27, 19, 49, 44, 38],
113+
mode='markers',
112114
name='Europe',
113115
text=['Germany', 'Britain', 'France', 'Spain', 'Italy', 'Czech Rep.', 'Greece', 'Poland'],
114116
marker=Marker(
@@ -118,6 +120,7 @@ def test_strip_style():
118120
Scatter(
119121
x=[42952, 37037, 33106, 17478, 9813, 5253, 4692, 3899],
120122
y=[23, 42, 54, 89, 14, 99, 93, 70],
123+
mode='markers',
121124
name='Asia/Pacific',
122125
text=['Australia', 'Japan', 'South Korea', 'Malaysia', 'China', 'Indonesia', 'Philippines', 'India'],
123126
marker=Marker(
@@ -127,6 +130,7 @@ def test_strip_style():
127130
Scatter(
128131
x=[19097, 18601, 15595, 13546, 12026, 7434, 5419],
129132
y=[43, 47, 56, 80, 86, 93, 80],
133+
mode='markers',
130134
name='Latin America',
131135
text=['Chile', 'Argentina', 'Mexico', 'Venezuela', 'Venezuela', 'El Salvador', 'Bolivia'],
132136
marker=Marker(
@@ -136,13 +140,20 @@ def test_strip_style():
136140
]),
137141
layout=Layout(
138142
title='Quarter 1 Growth',
143+
width=500,
144+
height=500,
139145
xaxis=XAxis(
140146
title='GDP per Capita'
141147
),
142148
yaxis=YAxis(
143149
title='Percent'
144150
),
145-
margin=Margin()
151+
margin=Margin(
152+
l=65,
153+
r=50,
154+
b=65,
155+
t=90
156+
)
146157
)
147158
)
148159
equivalent, msg = compare_dict(fig, comp_fig)

0 commit comments

Comments
 (0)