plot arrays by row with matplotlib
You can pass a multi-dimensional array to plot
and each column will be created as a separate plot object. We transpose both inputs so that it will plot each row separately.
a = np.random.rand(16, 850)
b = np.random.rand(16, 850)
plt.plot(a.T, b.T)
plt.show()