Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to know the version of installed pylab?

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

like image 605
eduardo.sufan Avatar asked Mar 31 '14 13:03

eduardo.sufan


2 Answers

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__
like image 172
schmi Avatar answered Nov 01 '22 01:11

schmi


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

Google says the site

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

like image 27
emeth Avatar answered Nov 01 '22 02:11

emeth