We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45d81cf commit 7f9a247Copy full SHA for 7f9a247
1 file changed
folium/plugins/heat_map_withtime.py
@@ -62,7 +62,7 @@ def __init__(self, data, index=None, name=None, radius=15, min_opacity=0, max_op
62
self.index = index if index is not None else [str(i) for i in range(1, len(data)+1)]
63
if len(self.data) != len(self.index):
64
raise ValueError('Input data and index are not of compatible lengths.')
65
- self.times = range(1, len(data)+1)
+ self.times = list(range(1, len(data)+1))
66
67
# Heatmap settings.
68
self.radius = radius
0 commit comments