@@ -38,7 +38,15 @@ def _make_chart_type(chart_type):
3838            "color" : list ("AAAABBBB" ),
3939        }
4040    )
41-     base  =  alt .Chart (data ).mark_point ().encode (x = "x" , y = "y" , color = "color" ,)
41+     base  =  (
42+         alt .Chart (data )
43+         .mark_point ()
44+         .encode (
45+             x = "x" ,
46+             y = "y" ,
47+             color = "color" ,
48+         )
49+     )
4250
4351    if  chart_type  in  ["layer" , "hconcat" , "vconcat" , "concat" ]:
4452        func  =  getattr (alt , chart_type )
@@ -290,7 +298,10 @@ def test_facet_basic():
290298    chart1  =  (
291299        alt .Chart ("data.csv" )
292300        .mark_point ()
293-         .encode (x = "x:Q" , y = "y:Q" ,)
301+         .encode (
302+             x = "x:Q" ,
303+             y = "y:Q" ,
304+         )
294305        .facet ("category:N" , columns = 2 )
295306    )
296307
@@ -304,7 +315,10 @@ def test_facet_basic():
304315    chart2  =  (
305316        alt .Chart ("data.csv" )
306317        .mark_point ()
307-         .encode (x = "x:Q" , y = "y:Q" ,)
318+         .encode (
319+             x = "x:Q" ,
320+             y = "y:Q" ,
321+         )
308322        .facet (row = "category1:Q" , column = "category2:Q" )
309323    )
310324
@@ -729,7 +743,10 @@ def test_repeat():
729743    chart1  =  (
730744        alt .Chart ("data.csv" )
731745        .mark_point ()
732-         .encode (x = alt .X (alt .repeat (), type = "quantitative" ), y = "y:Q" ,)
746+         .encode (
747+             x = alt .X (alt .repeat (), type = "quantitative" ),
748+             y = "y:Q" ,
749+         )
733750        .repeat (["A" , "B" , "C" , "D" ], columns = 2 )
734751    )
735752
@@ -856,7 +873,9 @@ def test_layer_errors():
856873def  test_resolve (chart_type ):
857874    chart  =  _make_chart_type (chart_type )
858875    chart  =  (
859-         chart .resolve_scale (x = "independent" ,)
876+         chart .resolve_scale (
877+             x = "independent" ,
878+         )
860879        .resolve_legend (color = "independent" )
861880        .resolve_axis (y = "independent" )
862881    )
0 commit comments