Matplotlib is a very useful plotting library, which we will need for the next recipe. It depends on NumPy, but in all likelihood you already have NumPy installed.
We will see how Matplotlib can be installed in Windows, Linux, and Mac, and also how to install it from source.
It might be necessary to put the msvcp71.dll
file in your C:Windowssystem32
directory. You can get it from http://www.dll-files.com/dllindex/dll-files.shtml?msvcp71.
sudo apt-get install python-matplotlib
su - yum install python-matplotlib
tar.gz
release at Sourceforge (http://sourceforge.net/projects/matplotlib/files/) or from the Git repository using the following command:git clone git://github.com/matplotlib/matplotlib.git
Once it has been downloaded, build and install as usual with the following command:
cd matplotlib python setup.py install