I have googled all over, and don't see where to get pylab.
What am I missing?
Thanks!
We provide prebuilt binaries for OS X and Windows on the matplotlib download page. Click on the latest release of the “matplotlib” package, choose your python version (2.6, 2.7 or 3.2) and your platform (macosx or win32).
Pylab is a module that provides a Matlab like namespace by importing functions from the modules Numpy and Matplotlib. Numpy provides efficient numerical vector calculations based on underlying Fortran and C binary libraries. Matplotlib contains functions to create visualizations of data.
pylab is a convenience module that bulk imports matplotlib. pyplot (for plotting) and numpy (for mathematics and working with arrays) in a single name space. Although many examples use pylab , it is no longer recommended. And then prefixing all of your pyplot functions with plt .
I believe there are two "versions" of pylab floating around/being referred to.
The first is a part of matplotlib
-- you just install matplotlib and do either import pylab
or import matplotlib.pyplot as pyplot
. (More info on pylab vs pyplot).
The second is described here, and as far as I know, doesn't exist yet. The linked version is simply describing a hypothetical vision of what the existing version of pylab could be. It's also unfortunately the first result when you try googling "pylab", which I suspect is what caused your confusion.
Source: http://matplotlib.1069221.n5.nabble.com/pylab-td23420.html#a23423
You can get it as part of EPD's Canopy distribution.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With