Question

I seem to be having problems with installed packages. I need to know which version is installed pylab in my python 2.7.

The pylab module is in the following path (I have installed anaconda): ..../anaconda/lib/python2.7/site-packages/IPython/core/magics/pylab.py

Was it helpful?

Solution

As was mentioned by Ted Kim, "Matplotlib is the whole package; pylab is a module in matplotlib"

The version for matplotlib can be quired through:

import matplotlib
print matplotlib.__version__

OTHER TIPS

Matplotlib is the whole package; pylab is a module in matplotlib.

Google says the site

http://matplotlib.org/faq/troubleshooting_faq.html

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top