Skip to content

Commit 3ca4aeb

Browse files
Conengmoocefpaf
authored andcommitted
no need to convert set to list before sorting
1 parent 82c3d5a commit 3ca4aeb

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

folium/plugins/time_slider_choropleth.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@ def __init__(self, data, styledict, name=None, overlay=True, control=True,
150150
timestamps = set()
151151
for feature in styledict.values():
152152
timestamps.update(set(feature.keys()))
153-
timestamps = list(timestamps)
154153
try:
155154
timestamps = sorted(timestamps, key=int)
156155
except (TypeError, ValueError):

0 commit comments

Comments
 (0)