How to install matplotlib in windows, mac or linux:
matplotlib is a library to create visualization charts in python. The installation is pretty straight forward and if you have Python installed on your system, you can install it using pip. Its releases are available on PyPI.
Install python if you haven’t:
Go to Python download page, download and install python if you haven’t installed it already.
Verify Python and pip installation:
Verify python and pip is installed or not:
python3 --version pip3 --version
If both are showing values, then you can use pip to download it.
Use pip to install:
pip3 install matplotlib