[Solved] python plot error of incompatible dimensions with numpy array [closed]


Check the shape of the two input arrays to plot in
plt.plot(tscale1, np.array(np.hstack((0., np.abs(uamp), 0.))), ...)

solved python plot error of incompatible dimensions with numpy array [closed]