@@ -100,6 +100,7 @@ def test_strip_style():
100
100
Scatter (
101
101
x = [52698 , 43117 ],
102
102
y = [53 , 31 ],
103
+ mode = 'markers' ,
103
104
name = 'North America' ,
104
105
text = ['United States' , 'Canada' ],
105
106
marker = Marker (
@@ -109,6 +110,7 @@ def test_strip_style():
109
110
Scatter (
110
111
x = [39317 , 37236 , 35650 , 30066 , 29570 , 27159 , 23557 , 21046 , 18007 ],
111
112
y = [33 , 20 , 13 , 19 , 27 , 19 , 49 , 44 , 38 ],
113
+ mode = 'markers' ,
112
114
name = 'Europe' ,
113
115
text = ['Germany' , 'Britain' , 'France' , 'Spain' , 'Italy' , 'Czech Rep.' , 'Greece' , 'Poland' ],
114
116
marker = Marker (
@@ -118,6 +120,7 @@ def test_strip_style():
118
120
Scatter (
119
121
x = [42952 , 37037 , 33106 , 17478 , 9813 , 5253 , 4692 , 3899 ],
120
122
y = [23 , 42 , 54 , 89 , 14 , 99 , 93 , 70 ],
123
+ mode = 'markers' ,
121
124
name = 'Asia/Pacific' ,
122
125
text = ['Australia' , 'Japan' , 'South Korea' , 'Malaysia' , 'China' , 'Indonesia' , 'Philippines' , 'India' ],
123
126
marker = Marker (
@@ -127,6 +130,7 @@ def test_strip_style():
127
130
Scatter (
128
131
x = [19097 , 18601 , 15595 , 13546 , 12026 , 7434 , 5419 ],
129
132
y = [43 , 47 , 56 , 80 , 86 , 93 , 80 ],
133
+ mode = 'markers' ,
130
134
name = 'Latin America' ,
131
135
text = ['Chile' , 'Argentina' , 'Mexico' , 'Venezuela' , 'Venezuela' , 'El Salvador' , 'Bolivia' ],
132
136
marker = Marker (
@@ -136,13 +140,20 @@ def test_strip_style():
136
140
]),
137
141
layout = Layout (
138
142
title = 'Quarter 1 Growth' ,
143
+ width = 500 ,
144
+ height = 500 ,
139
145
xaxis = XAxis (
140
146
title = 'GDP per Capita'
141
147
),
142
148
yaxis = YAxis (
143
149
title = 'Percent'
144
150
),
145
- margin = Margin ()
151
+ margin = Margin (
152
+ l = 65 ,
153
+ r = 50 ,
154
+ b = 65 ,
155
+ t = 90
156
+ )
146
157
)
147
158
)
148
159
equivalent , msg = compare_dict (fig , comp_fig )
0 commit comments