Pylab is just a name for a module in matplotlib that is supposed to mimic
matlab. I would say its intent it to ease the transition for matlab users.
It wouldn't really make sense to refer to matplotlib as pylab. The
matplotlib.pyplot is favored over the pylab module now.
- Charlie
On Sun, Oct
On Sun, Oct 26, 2008 at 11:51:48AM -0400, Charlie Moad wrote:
The matplotlib.pyplot is favored over the pylab module now.
Thanks! I find your comment very interesting. As I have negligible experience
with Matlab, I'd love to use matplotlib.pyplot.
The problem is all the docs use pylab right?
They're the same plotting interface, just different names. Pylab pulls in a
few extra functions that aren't specific to plotting, but aid in providing
matlab-alike functionality. To use matplotlib.pyplot instead of pylab for
any of the examples, just replace lines of:
import pylab
with:
Ryan May wrote:
They're the same plotting interface, just different names. Pylab pulls
in a few extra functions that aren't specific to plotting, but aid in
providing matlab-alike functionality. To use matplotlib.pyplot instead
of pylab for any of the examples, just replace lines of:
So is matplotlib the name of the low level plotting engine?
And, pylab is the user-friendly wrapper?
Would it be ok to call the whole system Pylab instead of Matplotlib then?
Chris
-
This SF.Net email is sponsored by the