Matplotlib can also be installed using the python package manager pip.
How to install matplotlib in python.
Pip install matplotlib this command installs matplotlib in the current working python environment.
A matplotlib is an open source python library which used to plot the graphs.
For example which default backend to use whether some of the optional libraries that matplotlib ships with are installed and so on.
It is originally conceived by the john d.
Cd matplotlib python mpip install.
Hunter in 2002 the version was released in 2003 and the latest version is released 3 1 1 on 1 july 2019.
To install matplotlib with pip open a terminal window and type.
Python m pip install u pip python m pip install u matplotlib if this command results in matplotlib being compiled from source and there s trouble with the compilation you can add prefer binary to select the newest version of matplotlib for which there is a precompiled wheel for your os and python.