
Python Data Visualization Cookbook.
Title:
Python Data Visualization Cookbook.
Author:
Milovanovic, Igor.
ISBN:
9781782163374
Personal Author:
Physical Description:
1 online resource (338 pages)
Contents:
Python Data Visualization Cookbook -- Table of Contents -- Python Data Visualization Cookbook -- Credits -- About the Author -- About the Reviewers -- www.PacktPub.com -- Support files, eBooks, discount offers and more -- Why Subscribe? -- Free Access for Packt account holders -- Preface -- What this book covers -- What you need for this book -- Who this book is for -- Conventions -- Reader feedback -- Customer support -- Downloading the example code -- Errata -- Piracy -- Questions -- 1. Preparing Your Working Environment -- Introduction -- Installing matplotlib, NumPy, and SciPy -- Getting ready -- How to do it... -- How it works... -- There's more... -- Installing virtualenv and virtualenvwrapper -- Getting ready -- How to do it... -- Installing matplotlib on Mac OS X -- Getting ready -- How to do it... -- Installing matplotlib on Windows -- Getting ready -- How to do it... -- There's more... -- Installing Python Imaging Library (PIL) for image processing -- How to do it... -- How it works... -- There's more... -- Installing a requests module -- How to do it... -- How it works... -- Customizing matplotlib's parameters in code -- Getting ready -- How to do it... -- How it works... -- Customizing matplotlib's parameters per project -- Getting ready -- How to do it... -- How it works... -- There's more... -- 2. Knowing Your Data -- Introduction -- Importing data from CSV -- Getting ready -- How to do it... -- How it works... -- There's more... -- Importing data from Microsoft Excel files -- Getting ready -- How to do it... -- How it works... -- There's more... -- Importing data from fixed-width datafiles -- Getting ready -- How to do it... -- How it works... -- Importing data from tab-delimited files -- Getting ready -- How to do it... -- How it works... -- There's more... -- Importing data from a JSON resource -- Getting ready -- How to do it...
How it works... -- There's more... -- Exporting data to JSON, CSV, and Excel -- Getting ready -- How to do it... -- How it works... -- There's more... -- Importing data from a database -- Getting ready -- How to do it... -- How it works... -- There's more... -- Cleaning up data from outliers -- Getting ready -- How to do it... -- There's more... -- Reading files in chunks -- How to do it... -- How it works... -- There's more... -- Reading streaming data sources -- How to do it... -- How it works... -- There's more... -- Importing image data into NumPy arrays -- Getting ready -- How to do it... -- How it works... -- There's more... -- Generating controlled random datasets -- Getting ready -- How to do it... -- Smoothing the noise in real-world data -- Getting ready -- How to do it... -- How it works... -- There's more... -- 3. Drawing Your First Plots and Customizing Them -- Introduction -- Defining plot types - bar, line, and stacked charts -- Getting ready -- How to do it... -- How it works... -- There's more... -- Drawing a simple sine and cosine plot -- Getting ready -- How to do it... -- Defining axis lengths and limits -- Getting ready -- How to do it... -- How it works... -- There's more... -- Defining plot line styles, properties, and format strings -- Getting ready -- How to do it... -- How it works... -- Color -- Background color -- Setting ticks, labels, and grids -- Getting ready -- How to do it... -- Adding a legend and annotations -- Getting ready -- How to do it... -- How it works... -- Moving spines to the center -- How to do it... -- How it works... -- There's more... -- Making histograms -- Getting ready -- How to do it... -- How it works... -- Making bar charts with error bars -- Getting ready -- How to do it... -- How it works... -- There's more... -- Making pie charts count -- Getting ready -- How to do it...
Plotting with filled areas -- Getting ready -- How to do it... -- How it works... -- There's more... -- Drawing scatter plots with colored markers -- Getting ready -- How to do it... -- How it works... -- 4. More Plots and Customizations -- Introduction -- Setting the transparency and size of axis labels -- Getting ready -- How to do it... -- How it works... -- There's more... -- Adding a shadow to the chart line -- Getting ready -- How to do it... -- How it works... -- There's more... -- Adding a data table to the figure -- Getting ready -- How to do it... -- How it works... -- There's more... -- Using subplots -- Getting ready -- How to do it... -- How it works... -- There's more... -- Customizing grids -- Getting ready -- How to do it... -- How it works... -- Creating contour plots -- Getting ready -- How to do it... -- How it works... -- Filling an under-plot area -- Getting ready -- How to do it... -- How it works... -- Drawing polar plots -- Getting ready -- How to do it... -- How it works... -- Visualizing the filesystem tree using a polar bar -- Getting ready -- How to do it... -- How it works... -- 5. Making 3D Visualizations -- Introduction -- Creating 3D bars -- Getting ready -- How to do it... -- How it works... -- There's more... -- Creating 3D histograms -- Getting ready -- How to do it... -- How it works... -- Animating in matplotlib -- Getting ready -- How to do it... -- How it works... -- There's more... -- Animating with OpenGL -- Getting ready -- How to do it... -- How it works... -- There's more... -- Using Pyglet Quickstart -- Using Glumpy Quickstart -- Pyprocessing introduction -- 6. Plotting Charts with Images and Maps -- Introduction -- Processing images with PIL -- Getting ready -- How to do it... -- How it works... -- There's more... -- Plotting with images -- Getting ready -- How to do it... -- How it works...
Displaying an image with other plots in the figure -- Getting ready -- How to do it... -- How it works... -- There's more... -- Plotting data on a map using Basemap -- Getting ready -- How to do it... -- How it works... -- There's more... -- Plotting data on a map using Google Map API -- Getting ready -- How to do it... -- How it works... -- There's more... -- Generating CAPTCHA images -- Getting ready -- How to do it... -- How it works... -- There's more... -- 7. Using Right Plots to Understand Data -- Introduction -- Understanding logarithmic plots -- Getting ready -- How to do it... -- How it works... -- Understanding spectrograms -- Getting ready -- How to do it... -- How it works... -- There's more... -- Creating a stem plot -- Getting ready -- How to do it... -- How it works... -- Drawing streamlines of vector flow -- Getting ready -- How to do it... -- How it works... -- There's more... -- Using colormaps -- Getting ready -- How to do it... -- How it works... -- There's more... -- Using scatter plots and histograms -- Getting ready -- How to do it... -- How it works... -- There's more... -- Plotting the cross-correlation between two variables -- Getting ready -- How to do it... -- How it works... -- Importance of autocorrelation -- Getting ready -- How to do it... -- How it works... -- There's more... -- 8. More on matplotlib Gems -- Introduction -- Drawing barbs -- Getting ready -- How to do it... -- How it works... -- There's more... -- Making a box and a whisker plot -- Getting ready -- How to do it... -- How it works... -- Making Gantt charts -- Getting ready -- How to do it... -- How it works... -- Making errorbars -- Getting ready -- How to do it... -- How it works... -- There's more... -- Making use of text and font properties -- Getting ready -- How to do it... -- How it works... -- Rendering text with LaTeX -- Getting ready.
How to do it... -- How it works... -- There's more... -- Understanding the difference between pyplot and OO API -- Getting ready -- How to do it... -- How it works... -- There's more... -- Index.
Abstract:
This book is written in a Cookbook style targeted towards an advanced audience. It covers the advanced topics of data visualization in Python.Python Data Visualization Cookbook is for developers that already know about Python programming in general. If you have heard about data visualization but you don't know where to start, then this book will guide you from the start and help you understand data, data formats, data visualization, and how to use Python to visualize data.You will need to know some general programming concepts, and any kind of programming experience will be helpful, but the code in this book is explained almost line by line. You don't need maths for this book, every concept that is introduced is thoroughly explained in plain English, and references are available for further interest in the topic.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Genre:
Electronic Access:
Click to View