Skip to content

Commit 2dd7c2c

Browse files
author
Martin Journois
committed
Fix rebase error in TopoJson
1 parent 1bf2906 commit 2dd7c2c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

folium/features.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ def render(self, **kwargs):
197197
vg.parse.spec(spec, function(chart) { chart({el:div}).update(); });}"""), # noqa
198198
name='vega_parse')
199199

200+
200201
class GeoJson(Layer):
201202
def __init__(self, data, style_function=None, name=None, overlay=True, control=True):
202203
"""
@@ -321,8 +322,10 @@ def _get_self_bounds(self):
321322
]
322323
return bounds
323324

325+
324326
class TopoJson(Layer):
325-
def __init__(self, data, object_path, name=None, overlay=True, control=True):
327+
def __init__(self, data, object_path, style_function=None,
328+
name=None, overlay=True, control=True):
326329
"""
327330
TODO docstring here
328331

0 commit comments

Comments
 (0)