Black Lives Matter. Please consider donating to Black Girls Code today.

Accessing Scatter Plot attributes as list type and not tuple

Hello,

I have been trying to access and append to the x and y attributes of a plotly.graph_objs.Scatter() object, but even though I initialize the attributes as lists (x = [], y = []), when I call type() on them, it returns tuple. This is blocking me from appending any data to the list, as I get a type error. Any help would be greatly appreciated.

Thanks

best for #api:python