Matplotlib is a comprehensive library for creating static, animated, and interactive visualizations in Python.

Matplotlib is an amazing visualization library in Python for 2D plots of
arrays. Matplotlib is a multi-platform data visualization library built
on NumPy arrays and designed to work with the broader SciPy stack. It
was introduced by John Hunter in the year 2002.

Python Plotting With Matplotlib :First, in order to actually use Matplotlib, we're going to need it!

If you have a later version of Python installed, you should be able to open cmd.exe/terminal and then run:
pip install matplotlib

Note: You may need to do C:/Python34/Scripts/pip install matplotlib if the above shorter version doesn't work.Mataplotlib use in Machine Learning :It is use for Data visualization in Machine Learning.Examples of Matplotlib :