当前位置:网站首页>图书 > 正文 >>

Interactive Applications Using Matplotlib

图书信息

作者Benjamin V. Root
出版社Packt Publishing
ISBN9781783988853
出版时间2015-03-24
字数114.6万
分类进口书,外文原版书,电脑,网络

读书简介

This book is intended for Python programmers who want to do more than just see their data. Experience with GUI toolkits is not required, so this book can be an excellent complement to other GUI programming resources.

目录

Interactive Applications Using Matplotlib

Table of Contents

Interactive Applications Using Matplotlib

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. Introducing Interactive Plotting

Installing Matplotlib

Show() your work

Interactive navigation

Interactive plotting

Scripted plotting

Getting help

Gallery

Mailing lists and forums

From front to backend

Interactive versus non-interactive

Anti-grain geometry

Selecting your backend

The Matplotlib figure-artist hierarchy

Canvassing the figure

The menagerie of artists

Primitives

Collections

Summary

2. Using Events and Callbacks

Making the connection

The big event

Breaking up is the easiest thing to do

Keymapping

Picking

Data editing

User events

Editor events

Summary

3. Animations

A short history

The fastest draw in the west

The animation module

Advanced animations

Event source

Timers

Blitting

Recipes

Tails

Fades

Saving animations

Notes about codecs and file formats

Simultaneous animations

How animations are saved

Session recorder

Summary

4. Widgets

Built-in widgets

Slider

Button

Check buttons

Radio button

Lasso

LassoSelector

RectangleSelector

SpanSelector

Cursor

format_coord()

Third-party tools

mpldatacursor

Glue

Plot.ly, ggplot, prettyplotlib, and Seaborn

Summary

5. Embedding Matplotlib

The revelation

Through a glass, darkly

Tinker tailor soldier pylab_setup()

Canvas materials

Bars, menus, and sliders – four ways

GTK

Tkinter

wxWidgets

Qt

Matplotlib in your app

GTK

Tkinter

wxWidgets

Qt

Summary

Index