[Numpy-discussion] matplotlib

Bill Baxter wbaxter at gmail.com
Mon Feb 13 06:46:00 CST 2006


Anyone know if matplotlib is supposed to work with the new NumPy or if there
is work afoot to make it work?
It seems to truncate all numpy.array and numpy.matrix inputs to integer
values:

    import matplotlib
    matplotlib.interactive(True)
    matplotlib.use('WXAgg')
    import matplotlib.pylab as g

    g.plot(rand(5),rand(5),'bo')

just puts a dot at (0,0), while this

    g.plot(rand(5)*10,rand(5)*10,'bo')

generates a plot of 5 points but all at integer coordinates.


--bb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20060213/21d272a7/attachment.html 


More information about the Numpy-discussion mailing list