[Numpy-discussion] matplotlib

John Hunter jdhunter at ace.bsd.uchicago.edu
Mon Feb 13 07:13:08 CST 2006

>>>>> "Bill" == Bill Baxter <wbaxter at gmail.com> writes:

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

You're script as posted is incomplete

    import matplotlib
    import matplotlib.pylab as g


where for example is rand coming from?  My guess is you have an import
statement you are not showing us.

If you are using a recent numpy and matplotlib, and set numerix to
numpy in your matplotlib rc file (~/.matplotlib/matplotlibrc)
everything should work if you get your array symbols from pylab, numpy
or matplotlib.numerix (all of which will get their symbols from


More information about the Numpy-discussion mailing list