Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Matplotlib Tutorial

Matplotlib Tutorial

Matplotlib is a plotting library for Python. It allows users to easily visualize data and provides a variety of output formats.

Matplotlib can be used to draw various static, dynamic, and interactive charts.

Matplotlib is a very powerful Python plotting tool; we can use it to present a large amount of data more intuitively in the form of charts.

Matplotlib can draw line plots, scatter plots, contour plots, bar charts, histograms, 3D graphics, and even animated graphics, among others.


What you need to know before studying this tutorial

Before starting to learn the Matplotlib tutorial, we need to have a basic foundation in Python. If you are not yet familiar with Python, you can read our tutorial:


Matplotlib applications

Matplotlib is usually used together with NumPy and SciPy (Scientific Python). This combination is widely used as a replacement for MatLab and is a powerful scientific computing environment that helps us learn data science or machine learning through Python.

SciPy is an open-source Python algorithm library and mathematical toolkit.

The modules included in SciPy cover optimization, linear algebra, integration, interpolation, special functions, fast Fourier transform, signal and image processing, ordinary differential equation solving, and other computations commonly used in science and engineering.


Related links