In [14]: Traceback (most recent call last):

 "/usr/local/lib/python2.7/site-packages/matplotlib/artist.py", line 55, in draw_wrapper
draw(artist, renderer, *args, **kwargs)

 "/usr/local/lib/python2.7/site-packages/matplotlib/figure.py", line 927, in draw
func(*args)

 "/usr/local/lib/python2.7/site-packages/matplotlib/artist.py", line 55, in draw_wrapper
draw(artist, renderer, *args, **kwargs)

 "/usr/local/lib/python2.7/site-packages/matplotlib/axes.py", line 1999, in draw
a.draw(renderer)

 "/usr/local/lib/python2.7/site-packages/matplotlib/artist.py", line 55, in draw_wrapper
draw(artist, renderer, *args, **kwargs)

 "/usr/local/lib/python2.7/site-packages/matplotlib/lines.py", line 494, in draw
gc.set_foreground(self._color)

 "/usr/local/lib/python2.7/site-packages/matplotlib/backends/backend_macosx.py", line 189, in set_foreground
GraphicsContextBase.set_foreground(self, fg, isRGB)

 "/usr/local/lib/python2.7/site-packages/matplotlib/backend_bases.py", line 878, in set_foreground
self._rgb = colors.colorConverter.to_rgba(fg)

 "/usr/local/lib/python2.7/site-packages/matplotlib/colors.py", line 354, in to_rgba
raise ValueError('to_rgba: Invalid rgba arg "%s"\n%s' % (str(arg), exc))
ValueError: to_rgba: Invalid rgba arg "['k']"
need more than 1 value to unpack
Traceback (most recent call last):


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/forkserver.py", line 261, in main

self._keyboard_fd = sys.__stdin__.fileno()
ValueError: I/O operation on closed file
