We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 200d47f commit 0b05071Copy full SHA for 0b05071
1 file changed
folium/features.py
@@ -1514,6 +1514,7 @@ def __init__(
1514
# then we 'correct' the last edge for numpy digitize
1515
# (we add a very small amount to fake an inclusive right interval)
1516
increasing = bin_edges[0] <= bin_edges[-1]
1517
+ bin_edges = bin_edges.astype(float)
1518
bin_edges[-1] = np.nextafter(
1519
bin_edges[-1], (1 if increasing else -1) * np.inf
1520
)
0 commit comments