Skip to content

Commit 86eb8c0

Browse files
authored
Fix typo in style_function
Replaces the wrong "opactiy" with the correct "opacity".
1 parent 6bb2d90 commit 86eb8c0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

folium/folium.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ def color_scale_fun(x):
673673
def style_function(x):
674674
return {
675675
"weight": line_weight,
676-
"opactiy": line_opacity,
676+
"opacity": line_opacity,
677677
"color": line_color,
678678
"fillOpacity": fill_opacity,
679679
"fillColor": color_scale_fun(x)

0 commit comments

Comments
 (0)