add `list()` for python3
add `list()` for python3

- `range()` was resulting in an `obj` in python3 where a `list` was
needed

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