Book Image

Mastering Matplotlib 2.x

By : Benjamin Walter Keller
Book Image

Mastering Matplotlib 2.x

By: Benjamin Walter Keller

Overview of this book

In this book, you’ll get hands-on with customizing your data plots with the help of Matplotlib. You’ll start with customizing plots, making a handful of special-purpose plots, and building 3D plots. You’ll explore non-trivial layouts, Pylab customization, and more about tile configuration. You’ll be able to add text, put lines in plots, and also handle polygons, shapes, and annotations. Non-Cartesian and vector plots are exciting to construct, and you’ll explore them further in this book. You’ll delve into niche plots and visualize ordinal and tabular data. In this book, you’ll be exploring 3D plotting, one of the best features when it comes to 3D data visualization, along with Jupyter Notebook, widgets, and creating movies for enhanced data representation. Geospatial plotting will also be explored. Finally, you’ll learn how to create interactive plots with the help of Jupyter. Learn expert techniques for effective data visualization using Matplotlib 3 and Python with our latest offering -- Matplotlib 3.0 Cookbook
Table of Contents (7 chapters)

What this book covers

Chapter 1, Heavy Customization, covers customizing Pylab and also learn about working on non-trivial layouts and the different Matplotlib configuration files.

Chapter 2, Drawing on Plots, explains how to put lines in place and add text to your plots. We will also learn about playing with polygons, shapes, and versatile annotating.

Chapter 3, Special Purpose Plots, covers non-Cartesian plots and plotting vector fields. We will also learn about statistics with boxes and violins, and also visualize ordinal and tabular data.

Chapter 4, 3D and Geospatial, explores plotting with 3D axes, looking at the various 3D plot types and the Basemap methods. We will also learn about plotting on map projections and adding geography.

Chapter 5, Interactive Plotting, looks at interactive plots in Jupyter Notebook and event handling with plot callbacks. We will also learn about GUI neutral widgets and how to make movies.