Install matplotlib in Python using pip

Matplotlib is another famous library of Python which is used for data visualisation and for plotting graphs.

Steps to install matpoltlib

Step 1: Open Command Prompt.

Step 2: Check the version of Python and pip.

python--version
pip--version

Step 3: Install matplotlib using pip 

pip install matplotlib

Step 4: Verify the installation of matplotlib.

import matplotlib