3. Matplotlib

Matplotlib arrow-up-rightis a plotting library for the Pythonarrow-up-right programming language and its numerical mathematics extension NumPyarrow-up-right.

Pyplot is a Matplotlib module which provides a MATLAB-like interface. Matplotlib is designed to be as usable as MATLAB, with the ability to use Python and the advantage of being free and open-source.

1. Installing an official release

Matplotlib and its dependencies are available as wheel packages for macOS, Windows and Linux distributions:

2. Elements of Figure

Matplotlib graphs your data on Figurearrow-up-rights (i.e., windows), each of which can contain one or more Axesarrow-up-right (i.e., an area where points can be specified in terms of x-y coordinates (or theta-r in a polar plot, or x-y-z in a 3D plot, etc.). The most simple way of creating a figure with axes is using pyplot.subplotsarrow-up-right.

circle-info

let's have a deeper look at the components of a Matplotlib figure.

Anatomy of a figure

3. Check and Quickstart

4. Content

Last updated

Was this helpful?