i’m trying to do something extremely simple, namely print a scatter plot of two random arrays:
import matplotlib.plt as plt
from numpy.random import *
x = rand(1,10)
this fails with the error:
ValueError: Offsets array must be Nx2
what is happening here? are arrays somehow weird? do they not behave like lists? any info on this will be greatly appreciated.