Skip to content

Commit ffafdda

Browse files
committed
Fix add_child on Marker not returning self
1 parent c1210ce commit ffafdda

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

folium/map.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,7 @@ def add_child(self, child, name=None, index=None):
445445
self.set_icon(child)
446446
else:
447447
super().add_child(child, name, index)
448+
return self
448449

449450

450451
class Popup(MacroElement):

0 commit comments

Comments
 (0)