Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
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
Matplotlib 2.x By Example

You're reading from   Matplotlib 2.x By Example Multi-dimensional charts, graphs, and plots in Python

Arrow left icon
Product type Paperback
Published in Aug 2017
Publisher Packt
ISBN-13 9781788295260
Length 334 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (3):
Arrow left icon
Allen Yu Allen Yu
Author Profile Icon Allen Yu
Allen Yu
Aldrin Yim Aldrin Yim
Author Profile Icon Aldrin Yim
Aldrin Yim
Claire Chung Claire Chung
Author Profile Icon Claire Chung
Claire Chung
Arrow right icon
View More author details
Toc

Basic structure of a Matplotlib figure

A basic Matplotlib figure is made up of multiple components common to different plot types. It will be useful to familiarize ourselves with the terminologies, as we will be using them frequently in plotting. To get you up to speed, we have prepared a glossary of these basic objects. For clearer illustration, here is a plot adapted from Matplotlib's official website that nicely highlights the anatomy of a typical Matplotlib figure:

Glossary of objects in a Matplotlib figure

  • Figure: A figure is the whole plotting area that contains all plot elements. Multiple subplots may be tiled in grid within one figure.
  • Subplot: A subplot is a subregion in a figure that contains all of the relevant...
You have been reading a chapter from
Matplotlib 2.x By Example
Published in: Aug 2017
Publisher: Packt
ISBN-13: 9781788295260
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