Python install matplotlib
Python install matplotlib :
Matplotlib is a package that is very useful for creating 2D or 3D graphics, which is highly sought after in scientific publications.
Some examples of graphics made with matplotlib :
How to install matplotlib ?
1. Install Matplotlib with the Anaconda Prompt
To be able to use this method you need to have anaconda for python installed on your computer. The anaconda distribution already comes with the matplotlib package so you don’t have to do it by yourself.
You can download anaconda prompt at this address: Download Anaconda
You can also install matplotlib with the help of the anaconda command prompt ( If the anaconda prompt is available on your machine. To do this you need to do the following command in the command prompt:
> conda install matplotlib
2. Install Matplotlib with pip
The second method is to use the Python package manager, pip. To install the matplotlib package, open a command prompt and type this :
$ pip install matplotlib
This command will install the package in your current python environment.
I hope this post will be useful, feel free to leave a comment if you have problems to install this package. 🙂
Leave a comment