Matplotlib is a popular
Python library that is used
to create 2D plots.
It takes data from an array of
numbers and generates a plot
in the form of a graph or
image.
Matplotlib provides many methods to visualize
numbers and their squares using different colors,shapes, and graphs.