I have a matrix A:
A = np.matrix(np.random.rand(4,2))
matrix([[ 0.01124212, 0.45879116],
[ 0.10993219, 0.00142847],
[ 0.34650295, 0.98693131],
[ 0.20417694, 0.81177707]])
Is there an easy way to use matplotlib (or similar libary) to show a scatterplot in 2-d? When I use plt.plot(A)
it shows as a line graph.