Skip to main content

Matplotlib Pyplot: Introduction

Matplotlib is a famous python package that is used for data visualization, typically in the form of plots, graphs and charts.

Pyplot is a Matplotlib module that is used for 2-D graphics in Python. It gives a MATLAB-like interface. It is specially designed to use MATLAB with Python and has the advantage of begin free and open-source.  Pyplot works as an API for Python's Matplotlib.

There are various plots that we can utilize using Pyplot Module are Line Plot, Histogram, Scatter, 3D Plot, Image, Contour, and Polar. It is imported under the plt alias.

Each function in Pyplot is used to make some changes to the Figure. e.g., It can create a figure, plots some lines in a plotting area, decorate the plot with labels, and so on.

Submitted by devanshi.srivastava on November 24, 2021

Devanshi, is working as a Data Scientist with iVagus. She has expertise in Python, NumPy, Pandas and other data science technologies.


At ProgramsBuzz, you can learn, share and grow with millions of techie around the world from different domain like Data Science, Software Development, QA and Digital Marketing. You can ask doubt and get the answer for your queries from our experts.