Skip to content

Commit b423876

Browse files
committed
remove *args for python 2 compatibility
1 parent e323b10 commit b423876

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/python/plotly/plotly/express/_hexbin_mapbox.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,9 @@ def hexbin_mapbox(
308308
mapDim = dict(height=height, width=height)
309309
else:
310310
mapDim = dict(height=height, width=width)
311-
zoom = _getBoundsZoomLevel(*lon_range, *lat_range, mapDim)
311+
zoom = _getBoundsZoomLevel(
312+
lon_range[0], lon_range[1], lat_range[0], lat_range[1], mapDim
313+
)
312314

313315
if center is None:
314316
center = dict(lat=lat_range.mean(), lon=lon_range.mean())

0 commit comments

Comments
 (0)