liveBook · Manning

Matplotlib

Matplotlib is an open-source Python library for creating static, animated, and interactive data visualizations.

How 4 Manning books explain it

Pandas Workout: 200 exercises to make you a stronger data analyst

Matplotlib is a Python library for creating static, animated, and interactive data visualizations.

How it is used
Supports data analysis by turning numerical relationships into visual representations that inform understanding and explanation.
How deep it goes
Demonstrates plot selection, data preparation, sorting, sizing, and pandas integration, but defers most direct Matplotlib API configuration.
Examples
Uses city counts, Pennsylvania growth, Massachusetts populations, geographic coordinates, and weather relationships to demonstrate chart types.
What you can do after
Builds exploratory charts through pandas plotting methods backed by Matplotlib and compares them with Seaborn alternatives.

Read how Pandas Workout: 200 exercises to make you a stronger data analyst explains Matplotlib →

Geometry for Programmers

Matplotlib is a Python library for creating static, animated, and interactive visualizations.

How it is used
Supports visualizing mathematical formulas, numerical data, and application examples through Python plots.
How deep it goes
Introduces plotting as a practical aid but stops short of teaching Python or Matplotlib programming in detail.
Examples
Uses rowing-session times, an approximating polynomial, and figures comparing linear approximation with the observed trend.
What you can do after
Apply Matplotlib to draw plots that clarify numerical trends and geometric behavior.

Read how Geometry for Programmers explains Matplotlib →

Everyday Data Visualization

Matplotlib is a Python library for creating static, animated, and interactive visualizations.

How it is used
Creates data visualizations through Python code.
How deep it goes
Demonstrates one default bar chart in roughly 18 lines and stops short of more complicated horizontal bars.
Examples
Uses fruit data and a default-styled bar chart as its concrete example.
What you can do after
Build a basic bar chart in Python with a relatively small amount of code.

Read how Everyday Data Visualization explains Matplotlib →

Coding with AI

A Python library for creating static, animated, and interactive data visualizations.

How it is used
Builds a readable bar chart from word-frequency data in a small Python text-processing program.
How deep it goes
Demonstrates a complete plotting function with sorting, selection, labels, rotation, titles, and display, without treating advanced visualization.
Examples
Uses a Hamlet text file to graph the top 20 words and show the resulting visualization.
What you can do after
Apply Matplotlib to generate and display a labeled bar chart from counted values.

Read how Coding with AI explains Matplotlib →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.