Harsh Agrawal's blog

Introduction - Matplotlib #1.1

In this article, we will be exploring how to plot a very simple line graph using a Python library called matplotlib.

Matplotlib is a library for making 2D and 3D graphs in Python. It has been present since around 2008. Install it through pip. Go to the command line and run the following line:

pip install matplotlib

Let’s see the example.