Introduction to Matplotlib - Machine Learning Tutorials, Courses and Certifications

Introduction to Matplotlib - Machine Learning Tutorials, Courses and Certifications

Machine Learning November 19, 2021 Data Science , Data Visualization Comments Off on Introduction to Matplotlib 5,792 Views

Matplotlib is mostly written in python, a few segments are written in C, Objective-C and Javascript for Platform compatibility. matplotlib.pyplot is a plotting library used for 2D graphics in python programming language. It can be used in python scripts, shell, web application servers and other graphical user interface toolkits.

There are various plots which can be created using python matplotlib. Some of them are listed below:

https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.plot.html

matplotlib.pyplot is a collection of command style functions that make matplotlib work like MATLAB. Each pyplot function makes some change to a figure: e.g., creates a figure, creates a plotting area in a figure, plots some lines in a plotting area, decorates the plot with labels, etc.

A format string consists of a part for color, marker and line:

The supported color abbreviations are the single letter codes

Recommended articles