My Account Log in

1 option

Hands-on Matplotlib : learn plotting and visualizations with Python 3 / Ashwin Pajankar.

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Pajankar, Ashwin, author.
Language:
English
Subjects (All):
Python (Computer program language).
Information visualization.
Physical Description:
1 online resource (305 pages)
Place of Publication:
New York, New York : Apress Media LLC, [2022]
Summary:
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.
Contents:
Intro
Table of Contents
About the Author
About the Technical Reviewer
Acknowledgments
Introduction
Chapter 1: Introduction to Python 3
Introducing the Python 3 Programming Language
History of the Python Programming Language
Python Enhancement Proposals
Philosophy of the Python Programming Language
Applications of Python
Installing Python on Various Platforms
Installing on a Windows Computer
Installing on Ubuntu/Debian Derivatives
Using Python Modes
Interactive Mode
Script Mode
Using Python IDEs
Exploring the Scientific Python Ecosystem
Introducing Jupyter Notebook
Setting Up Jupyter Notebook
Running Code in Jupyter Notebook
Anaconda
Summary
Chapter 2: Getting Started with NumPy
NumPy and Ndarrays
Indexing in Ndarrays
Indexing in Ndarrays of More Than One Dimension
Ndarray Properties
NumPy Constants
Slicing Ndarrays
Chapter 3: NumPy Routines and Getting Started with Matplotlib
Routines for Creating Ndarrays
Matplotlib
Visualization with NumPy and Matplotlib
Running the Matplotlib Program as a Script
Chapter 4: Revisiting Matplotlib Visualizations
Single-Line Plots
Multiline Plots
Grid, Axes, and Labels
Colors, Styles, and Markers
Object-Oriented Plotting
Subplots
Chapter 5: Styles and Layouts
Styles
Layouts
Chapter 6: Lines, Bars, and Scatter Plots
Lines and Logs
Error Bars
Bar Graphs
Scatter Plot
Chapter 7: Histograms, Contours, and Stream Plots
Histograms
Contours
Visualizing Vectors with Stream Plots
Chapter 8: Image and Audio Visualization
Visualizing Images
Image Masking
Interpolation Methods
Audio Visualization
Audio Processing
Chapter 9: Pie and Polar Charts
Pie Charts.
Polar Charts
Chapter 10: Working with Colors
pcolor()
pcolormesh()
colorbar()
Chapter 11: 3D Visualizations in Matplotlib
Getting Ready
Plotting 3D Lines
3D Scatter Plots
3D Contours
Wireframes, Surfaces, and Sample Data
Quiver and Stem Plots
3D Volumes
Chapter 12: Animations with Matplotlib
Animation Basics
Celluloid Library
Chapter 13: More Visualizations with Matplotlib
Visualizing a Function as an Image and a Contour
3D Vignettes
Decorated Scatter Plots
Time Plots and Signals
Filled Plots
Step Plots
Hexbins
XKCD Style
Chapter 14: Introduction to Pandas
Introduction to Pandas
Series in Pandas
Basic Operations on Series
Dataframe in Pandas
Chapter 15: Data Acquisition
Plain-Text File Handling
Handling CSV Files with Python
Python and Excel
Writing and Reading Files with NumPy
Reading the Data from a CSV File with NumPy
Matplotlib CBook
Reading Data from a CSV
Reading Data from an Excel File
Reading Data from JSON
Reading Data from a Pickle File
Reading Data from the Web
Interacting with the Web API
Reading Data from a Relational Database Table
Reading Data from the Clipboard
Chapter 16: Visualizing Data with Pandas and Matplotlib
Simple Plots
Box Plots
Area Plots
Scatter Plots
Hexagonal Bin Plots
Pie Charts
Chapter 17: Introduction to Data Visualization with Seaborn
What Is Seaborn?
Plotting Statistical Relationships
Plotting Lines
Visualizing the Distribution of Data
Chapter 18: Visualizing Real-Life Data with Matplotlib and Seaborn
COVID-19 Pandemic Data
Fetching the Pandemic Data Programmatically.
Preparing the Data for Visualization
Creating Visualizations with Matplotlib and Seaborn
Creating Visualizations of Animal Disease Data
Index.
Notes:
Description based on print version record.
Includes index.
Other Format:
Print version: Pajankar, Ashwin Hands-On Matplotlib
ISBN:
9781523150939
1523150939
9781484274101
1484274105
OCLC:
1287136070
Publisher Number:
9781484274095
9781484274101

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account