Skip to content

Commit 2ce4fbe

Browse files
committed
run black
1 parent e7569a5 commit 2ce4fbe

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

folium/map.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -373,13 +373,16 @@ class Marker(MacroElement):
373373

374374
class SetIcon(MacroElement):
375375
"""Set the icon of a marker after both are created."""
376-
_template = Template("""
376+
377+
_template = Template(
378+
"""
377379
{% macro script(this, kwargs) %}
378380
{{ this.marker.get_name() }}.setIcon({{ this.icon.get_name() }});
379381
{% endmacro %}
380-
""")
382+
"""
383+
)
381384

382-
def __init__(self, marker: 'Marker', icon: 'Icon'):
385+
def __init__(self, marker: "Marker", icon: "Icon"):
383386
super().__init__()
384387
self._name = "SetIcon"
385388
self.marker = marker

0 commit comments

Comments
 (0)