hi all,
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)
scatter(x, x)
this fails with the error:
ValueError: Offsets array must be Nx2
what is happening here? are arrays
per freem wrote:
hi all,
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)
scatter(x, x)
this fails with the error:
ValueError: Offsets array must be Nx2
what