Skip to content

Commit e323b10

Browse files
committed
Remove unused
1 parent 469014e commit e323b10

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

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

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,6 @@ def _project_wgs84_to_latlon(x, y):
2525
return lat, lon
2626

2727

28-
def _human_format(number):
29-
"""
30-
Transforms high numbers to human readable numer string
31-
"""
32-
units = ["", "K", "M", "G", "T", "P"]
33-
k = 1000.0
34-
magnitude = int(np.floor(np.log(number, k)))
35-
return "%.2f%s" % (number / k ** magnitude, units[magnitude])
36-
37-
3828
def _getBoundsZoomLevel(lon_min, lon_max, lat_min, lat_max, mapDim):
3929
"""
4030
Get the mapbox zoom level given bounds and a figure dimension

0 commit comments

Comments
 (0)