Matplotlib Roadmap

How to learn MATPLOTLIB?

Matplotlib is a multi-platform data visualization tool based on NumPy arrays. It was developed in the year 2002 by John Hunter.

This tool helps us in visualizing data in a digestible manner. Matplotlib consists of several plots like line, bar, scatter, histogram, etc.

It represents data in 2D form by taking data input from arrays.

Now, let’s get on the road to learn Matplotlib.

Prerequisites: We assume that learners have basic knowledge of python and NumPy before starting this module.

Step1:

Set up its environment. Learn about Anaconda distribution and Jupyter notebook.

Step2:

Learn about Pyplot API, simple plot, Pylab module, and object-oriented interface.

Step3:

Move on to some more interesting and important topics. Understand the concept of figure class, axes class, and multiplots. Learn about two functions, i.e, subplot() function and subplot2grid() function.

Step4:

We will now get into some very important topics. Learn grids, formatting axes, setting limits, setting ticks, and ticks labels.

Step5:

Learn about all kinds of plots. Learn bar, pie, scatter, contour, quiver, box, histogram, and violin plots. Also, understand three-dimensional plotting. Learn 3D contour, 3D wireframe, and 3D surface plots.

Step6:

Learn to work with texts and images.

Step7:

Understand the concept of mathematical expressions and transforms in Matplotlib.

Step8:

Yahoo! We are done with it. Now try visualizing data on your own.