Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/home/jfoxrabi/miniconda3/lib/python3.5/site-packages/matplotlib/__init__.py", line 1892, in inner

return func(ax, *args, **kwargs)


 "/home/jfoxrabi/miniconda3/lib/python3.5/site-packages/matplotlib/axes/_axes.py", line 3020, in errorbar

lower, upper = extract_err(yerr, y)


 "/home/jfoxrabi/miniconda3/lib/python3.5/site-packages/matplotlib/axes/_axes.py", line 2965, in extract_err

in cbook.safezip(data, err)]


 "/home/jfoxrabi/miniconda3/lib/python3.5/site-packages/matplotlib/axes/_axes.py", line 2964, in <listcomp>

low = [thisx - thiserr for (thisx, thiserr)
TypeError: unsupported operand type(s) for -: 'int' and 'list'

Traceback (most recent call last):


 "test.py", line 5, in <module>

f = web.DataReader('F', 'robinhood')


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pandas_datareader/data.py", line 391, in DataReader

session=session).read()


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pandas_datareader/base.py", line 77, in read

return self._read_one_data(self.url, self.params)


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pandas_datareader/base.py", line 86, in _read_one_data

out = self._get_response(url, params=params).json()


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pandas_datareader/base.py", line 136, in _get_response

last_response_text = response.text.encode(response.encoding)
TypeError: encode() argument 1 must be str, not None
