Skip to content

Commit ba908af

Browse files
committed
Fix PEP8 formatting
1 parent 561e86d commit ba908af

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

examples/choropleth_states.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@
1414
# Let Folium determine the scale.
1515
states = folium.Map(location=[48, -102], zoom_start=3)
1616
states.choropleth(geo_path=state_geo, data=state_data,
17-
columns=['State', 'Unemployment'],
18-
key_on='feature.id',
19-
fill_color='YlGn', fill_opacity=0.7, line_opacity=0.2,
20-
legend_name='Unemployment Rate (%)')
17+
columns=['State', 'Unemployment'],
18+
key_on='feature.id',
19+
fill_color='YlGn', fill_opacity=0.7, line_opacity=0.2,
20+
legend_name='Unemployment Rate (%)')
2121
states.save(outfile='us_state_map.html')
2222

2323
# Let's define our own scale and change the line opacity.
2424
states2 = folium.Map(location=[48, -102], zoom_start=3)
2525
states2.choropleth(geo_path=state_geo, data=state_data,
26-
columns=['State', 'Unemployment'],
27-
threshold_scale=[5, 6, 7, 8, 9, 10],
28-
key_on='feature.id',
29-
fill_color='BuPu', fill_opacity=0.7, line_opacity=0.5,
30-
legend_name='Unemployment Rate (%)',
31-
reset=True)
26+
columns=['State', 'Unemployment'],
27+
threshold_scale=[5, 6, 7, 8, 9, 10],
28+
key_on='feature.id',
29+
fill_color='BuPu', fill_opacity=0.7, line_opacity=0.5,
30+
legend_name='Unemployment Rate (%)',
31+
reset=True)
3232
states2.save(outfile='us_state_map_2.html')

0 commit comments

Comments
 (0)