Skip to content

Commit f3c065a

Browse files
author
Martin Journois
committed
Bugfix in Map.geo_json
1 parent e4d19a7 commit f3c065a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

folium/folium.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -438,10 +438,10 @@ def add_plugin(self, plugin):
438438
#
439439
# self.template_vars.update({'fit_bounds': fit_bounds_str.strip()})
440440

441-
def geo_json(self, **kwargs):
441+
def geo_json(self, *args, **kwargs):
442442
"""This method is deprecated, see `Map.choropleth` instead."""
443443
warnings.warn('This method is deprecated. Please use Map.choropleth instead.')
444-
return self.choropleth(**kwargs)
444+
return self.choropleth(*args, **kwargs)
445445

446446
def choropleth(self, geo_path=None, geo_str=None, data_out='data.json',
447447
data=None, columns=None, key_on=None, threshold_scale=None,

0 commit comments

Comments
 (0)