لَآ إِلَـٰهَ إِلَّا هُوَ
LA ILAHA ILLA HU
Allah, Your Lord There Is No Deity Except Him.

Python Data Science Introduction to Matplotlib

Matplotlib is a low level graph visualization plotting library in python that serves as a tool.
Matplotlib was created by John D. Hunter. It is open source and can be used freely.
Matplotlib is mainly written in python, with a few segments written in C, Objective-C and Javascript for Platform compatibility.

Example: Draw a graph with x(0, 10) and y(0, 10)
The code to draw the above plot will be

code


the output will be

Installation of Matplotlib : You must have Python and PIP already installed on a system, then the installation of Matplotlib becomes really easy. Install it using this command:
C:\Users\Your Name>pip install matplotlib

If this command doesn't work, then should use a python distribution that already has Matplotlib installed, like Anaconda, Spyder etc.
To import Matplotlib
Once you have installed Matplotlib , import it in your applications by adding the import module statement:
import matplotlib
To Check the version of Matplotlib
The version string is stored under __version__ attribute.
Example
import matplotlib
print(matplotlib.__version__)