|
From: Robert K. <rk...@uc...> - 2005-05-05 15:12:39
|
Florian Lindner wrote:
> Hello,
> I'm using matplotlib like that:
>
> import matplotlib
> matplotlib.use("Agg")
> import pylab
> pylab.plot(*values)
> pylab.savefig("testfig.png")
>
> print values gives this output:
>
> [['1', '2', '3', '4', '5'], ['11', '12', '13', '14', '15']]
> What am I doing wrong?
Passing strings. Use numbers.
--
Robert Kern
rk...@uc...
"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die."
-- Richard Harter
|