Select the download the version according to your python interpreter configuration.
How to install matplotlib.
Matplotlib can be used in python scripts the python and ipython shell web application servers and various graphical user interface toolkits.
Sudo yum install python3 matplotlib.
Go to its official site and click the download button.
To verify that matplotlib is installed try to invoke matplotlib s version at the python repl.
Pip install matplotlib this command installs matplotlib in the current working python environment.
The anaconda distribution is an easiest way to install matplotlib library because matplotlib is pre installed in it.
To install matplotlib with pip open a terminal window and type.
Installing matplotlib using the matplotlib.
If for some reason you cannot use the package manager you may use the wheels available on pypi.
This will guarantee that matplotlib s dependencies will be installed as well.
Sudo dnf install python3 matplotlib.
Install for installation instructions and requirements see install rst or the install documentation.
To install matplotlib at the system level we recommend that you use your distribution s package manager.
Sudo apt get install python3 matplotlib.
So we don t need to further installation.
Matplotlib can be installed from the source directory with a simple python m pip install.