This is my data and the graph I want to produce:
from numpy import array
from os.path import expanduser
import matplotlib.pyplot as plt
sns.set(style="darkgrid")
data = [array([8, 4, 9, 6, 2]), array([5, 4, 4, 1, 2]), array([4, 3, 1, 5, 6]), array([8, 3, 5, 6, 4])]
for d in data:
plt.plot(d)
# plt.savefig(expanduser("~/Documents/rural_juror.pdf"))
Since I want to plot several of those in the same seaborn facetgrid I cannot use a loop, but have to do it on one line, like so:
plt.plot(*data)
# produces same result as
# plt.plot(data[0], data[1], data[2], data[3])
This does not work, however, but produces a graph like so:

I'm guessing this has to do with the arguments to plot being of the type data, looks, data, looks... but how do I work around this?
