Jump to ratings and reviews
Rate this book

Hands-on Matplotlib

Rate this book
Learn the core aspects of NumPy, Matplotlib, and Pandas, and use them to write programs with Python 3. This book focuses heavily on various data visualization techniques and will help you acquire expert-level knowledge of working with Matplotlib, a MATLAB-style plotting library for Python programming language that provides an object-oriented API for embedding plots into applications.
You'll begin with an introduction to Python 3 and the scientific Python ecosystem. Next, you'll explore NumPy and ndarray data structures, creation routines, and data visualization. You'll examine useful concepts related to style sheets, legends, and layouts, followed by line, bar, and scatter plots. Chapters then cover recipes of histograms, contours, streamplots, and heatmaps, and how to visualize images and audio with pie and polar charts.
Moving forward, you'll learn how to visualize with pcolor, pcolormesh, and colorbar, and how to visualize in 3D in Matplotlib, create simple animations, and embed Matplotlib with different frameworks. The concluding chapters cover how to visualize data with Pandas and Matplotlib, Seaborn, and how to work with the real-life data and visualize it. After reading Hands-on Matplotlib you'll be proficient with Matplotlib and able to comfortably work with ndarrays in NumPy and data frames in Pandas.
What You'll Learn
Understand Data Visualization and Python using Matplotlib
Review the fundamental data structures in NumPy and Pandas
Work with 3D plotting, visualizations, and animations
Visualize images and audio data
Who This Book Is For
Data scientists, machine learning engineers and software professionals with basic programming skills.

320 pages, Paperback

Published November 28, 2021

1 person is currently reading

About the author

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
0 (0%)
4 stars
0 (0%)
3 stars
2 (66%)
2 stars
0 (0%)
1 star
1 (33%)
Displaying 1 - 2 of 2 reviews
Profile Image for Frank.
368 reviews104 followers
March 27, 2024
A good book, but it doesn't explain everything shown to you. For example, to generate data points to be used to plot a graph, the book used np.random.randn(10000), but it never explained what randn( ) is. It just tells you that it will generate normally distributed values. What it does is generate the z-scores from a standard normal distribution, i.e. mean of 0 and standard deviation of 1. I had to ask ChatGPT for an explanation.

I first learned Matplotlib from the W3 site and went to this book for some finer details, such as including error bars. That is how I recommend you use this book, that is, as a supplement.
600 reviews11 followers
March 5, 2023
A big disappointment. It takes 3 chapters to get to Matplotlib, then follows the basic parts of Matplotlib that every tutorial covers and as soon as it starts to get interesting, the book reaches its end.
Displaying 1 - 2 of 2 reviews

Can't find what you're looking for?

Get help and learn more about the design.