I want to have arrays plotted in one plot.
Currently I am doing:
x1=array1
x2=array2
plt.plot(x1,'b-',label='array1',x2,'g-',label='array2')
which gives the error: positional argument follows keyword argument.
However, it works fine when the label is removed.
Does anyone have any suggestions on how to fix this error?