In python 3 `map` is a generator, `list()` it!
In python 3 `map` is a generator, `list()` it!

In python 2, you typically get `list` objects. For efficiency (AFAIK) in
python 3 you’ll get a generator. Note that you can’t iterate through
a generator more than once though!

plotly/plotly.py,plotly/plotly.py,plotly/python-api,plotly/python-api,plotly/plotly.py,plotly/python-api