Hands-on Matplotlib: Learn Plotting and Visualizations with Python 3, 1st Edition

  • 1h 44m
  • Ashwin Pajankar
  • Apress
  • 2021

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.

You will:

  • 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

About the Author

Ashwin Pajankar holds a Master of Technology from IIIT Hyderabad, and has over 25 years of programming experience. He started his journey in programming and electronics with BASIC programming language and is now proficient in Assembly programming, C, C++, Java, Shell Scripting, and Python. Other technical experience includes single board computers such as Raspberry Pi and Banana Pro, and Arduino.

In this Book

  • Introduction
  • Introduction to Python 3
  • Getting Started with NumPy
  • NumPy Routines and Getting Started with Matplotlib
  • Revisiting Matplotlib Visualizations
  • Styles and Layouts
  • Lines, Bars, and Scatter Plots
  • Histograms, Contours, and Stream Plots
  • Image and Audio Visualization
  • Pie and Polar Charts
  • Working with Colors
  • 3D Visualizations in Matplotlib
  • Animations with Matplotlib
  • More Visualizations with Matplotlib
  • Introduction to Pandas
  • Data Acquisition
  • Visualizing Data with Pandas and Matplotlib
  • Introduction to Data Visualization with Seaborn
  • Visualizing Real-Life Data with Matplotlib and Seaborn
SHOW MORE
FREE ACCESS