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

Geting Plotly Error Exception

Using the below code

import plotly.plotly as py              # for sending things to plotly
import as tls              # for mpl, config, etc.
py.sign_in('PythonAPI', 'ubpiol2cve') 
a = (1, 2, 3, 4 ,5)
b = (2, 3, 5, 6, 1)

I am getting thsi error:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "plotly/plotly/", line 212, in plot
    figure = tools.return_figure_from_figure_or_data(figure_or_data, validate)
  File "plotly/", line 1430, in return_figure_from_figure_or_data
    raise exceptions.PlotlyError("The `figure_or_data` positional "
plotly.exceptions.PlotlyError: The `figure_or_data` positional argument must be either `dict`-like or `list`-like.

even when variable a and variable b is a tuple

can you help me build my first plotly