Python install matplotlib

By ayed_amira , on 02/11/2020 , updated on 09/10/2020 - 1 minute to read
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 :

Python install matplotlib
Examples of graphics 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. 🙂


I'm a data scientist. Passionate about new technologies and programming I created this website mainly for people who want to learn more about data science and programming :)


Leave a comment

Your comment will be revised by the site if needed.