Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Interactive Applications using Matplotlib

You're reading from   Interactive Applications using Matplotlib

Arrow left icon
Product type Paperback
Published in Mar 2015
Publisher
ISBN-13 9781783988846
Length 174 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

Third-party tools

While Matplotlib likes to follow a "batteries included" philosophy for all things related to plotting, there are times when a desired feature just doesn't generalize well enough for it to be a standard feature. Alternatively, a feature may require other specialty packages that do not make sense to have as a dependency for Matplotlib. For these situations, there is a growing library of packages that provide additional interactive features on top of your standard Matplotlib application.

mpldatacursor

The mpldatacursor package (https://pypi.python.org/pypi/mpldatacursor) provides a number of useful interactive tools, primarily focusing on making it very easy to annotate a plot. To use this tool, create your plots as normal. Then you can add a data cursor to one or more Axes object (and can optionally specify which Artist objects the cursor is valid for). Then, click on something in your plot and an annotation will appear, describing what you clicked on.

Glue

The...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image