[Numpy-discussion] matplotlib

Bill Baxter wbaxter at gmail.com
Mon Feb 13 07:07:01 CST 2006


I've got 0.86.2.  It looks like if I do 'import pylab as g' it doesn't work,
but 'from pylab import *' does for some reason.
--bb

On 2/13/06, Ryan Krauss <ryanlists at gmail.com> wrote:
>
> What version are you using?  I know that CVS matplotlib works with
> numpy and I think the latest releases do as well.  I think the current
> version is 0.86.2
>
> On 2/13/06, Bill Baxter <wbaxter at gmail.com> wrote:
> > 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
> >
>



--
William V. Baxter III
OLM Digital
Kono Dens Building Rm 302
1-8-8 Wakabayashi Setagaya-ku
Tokyo, Japan  154-0023
+81 (3) 3422-3380
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20060213/1555a0c8/attachment-0001.html 


More information about the Numpy-discussion mailing list