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
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Matplotlib 3.0 Cookbook
Matplotlib 3.0 Cookbook

Matplotlib 3.0 Cookbook: Over 150 recipes to create highly detailed interactive visualizations using Python

Arrow left icon
Profile Icon Poladi Profile Icon Borkar
Arrow right icon
£9.99 per month
Full star icon Full star icon Full star icon Empty star icon Empty star icon 3 (5 Ratings)
Paperback Oct 2018 676 pages 1st Edition
eBook
£29.99
Paperback
£36.99
Subscription
Free Trial
Renews at £9.99p/m
Arrow left icon
Profile Icon Poladi Profile Icon Borkar
Arrow right icon
£9.99 per month
Full star icon Full star icon Full star icon Empty star icon Empty star icon 3 (5 Ratings)
Paperback Oct 2018 676 pages 1st Edition
eBook
£29.99
Paperback
£36.99
Subscription
Free Trial
Renews at £9.99p/m
eBook
£29.99
Paperback
£36.99
Subscription
Free Trial
Renews at £9.99p/m

What do you get with a Packt Subscription?

Free for first 7 days. £13.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing
Table of content icon View table of contents Preview book icon Preview Book

Matplotlib 3.0 Cookbook

Chapter 1. Anatomy of Matplotlib

This chapter will begin with an introduction to matplotlib including the architecture of matplotlib and the elements of a figure followed by the recipes. The following are the recipes that will be covered in this chapter: 

  • Working in interactive mode
  • Working in non-interactive mode
  • Reading from external files and plotting
  • How to change and reset default environment variables 
Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Master Matplotlib for data visualization
  • Customize basic plots to make and deploy figures in cloud environments
  • Explore recipes to design various data visualizations from simple bar charts to advanced 3D plots

Description

Matplotlib provides a large library of customizable plots, along with a comprehensive set of backends. Matplotlib 3.0 Cookbook is your hands-on guide to exploring the world of Matplotlib, and covers the most effective plotting packages for Python 3.7. With the help of this cookbook, you'll be able to tackle any problem you might come across while designing attractive, insightful data visualizations. With the help of over 150 recipes, you'll learn how to develop plots related to business intelligence, data science, and engineering disciplines with highly detailed visualizations. Once you've familiarized yourself with the fundamentals, you'll move on to developing professional dashboards with a wide variety of graphs and sophisticated grid layouts in 2D and 3D. You'll annotate and add rich text to the plots, enabling the creation of a business storyline. In addition to this, you'll learn how to save figures and animations in various formats for downstream deployment, followed by extending the functionality offered by various internal and third-party toolkits, such as axisartist, axes_grid, Cartopy, and Seaborn. By the end of this book, you'll be able to create high-quality customized plots and deploy them on the web and on supported GUI applications such as Tkinter, Qt 5, and wxPython by implementing real-world use cases and examples.

Who is this book for?

The Matplotlib 3.0 Cookbook is for you if you are a data analyst, data scientist, or Python developer looking for quick recipes for a multitude of visualizations. This book is also for those who want to build variations of interactive visualizations.

What you will learn

  • Develop simple to advanced data visualizations in Matplotlib
  • Use the pyplot API to quickly develop and deploy different plots
  • Use object-oriented APIs for maximum flexibility with the customization of figures
  • Develop interactive plots with animation and widgets
  • Use maps for geographical plotting
  • Enrich your visualizations using embedded texts and mathematical expressions
  • Embed Matplotlib plots into other GUIs used for developing applications
  • Use toolkits such as axisartist, axes_grid1, and cartopy to extend the base functionality of Matplotlib

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Oct 23, 2018
Length: 676 pages
Edition : 1st
Language : English
ISBN-13 : 9781789135718
Category :
Languages :
Tools :

What do you get with a Packt Subscription?

Free for first 7 days. £13.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

Product Details

Publication date : Oct 23, 2018
Length: 676 pages
Edition : 1st
Language : English
ISBN-13 : 9781789135718
Category :
Languages :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
£9.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 6,500+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
£99.99 billed annually
Feature tick icon Unlimited access to Packt's library of 6,500+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just £5 each
Feature tick icon Exclusive print discounts
£139.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 6,500+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just £5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total £ 94.97
Matplotlib 3.0 Cookbook
£36.99
Mastering Matplotlib 2.x
£24.99
Matplotlib for Python Developers
£32.99
Total £ 94.97 Stars icon
Visually different images

Table of Contents

15 Chapters
Anatomy of Matplotlib Chevron down icon Chevron up icon
Getting Started with Basic Plots Chevron down icon Chevron up icon
Plotting Multiple Charts, Subplots, and Figures Chevron down icon Chevron up icon
Developing Visualizations for Publishing Quality Chevron down icon Chevron up icon
Plotting with Object-Oriented API Chevron down icon Chevron up icon
Plotting with Advanced Features Chevron down icon Chevron up icon
Embedding Text and Expressions Chevron down icon Chevron up icon
Saving the Figure in Different Formats Chevron down icon Chevron up icon
Developing Interactive Plots Chevron down icon Chevron up icon
Embedding Plots in a Graphical User Interface Chevron down icon Chevron up icon
Plotting 3D Graphs Using the mplot3d Toolkit Chevron down icon Chevron up icon
Using the axisartist Toolkit Chevron down icon Chevron up icon
Using the axes_grid1 Toolkit Chevron down icon Chevron up icon
Plotting Geographical Maps Using Cartopy Toolkit Chevron down icon Chevron up icon
Exploratory Data Analysis Using the Seaborn Toolkit Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Empty star icon Empty star icon 3
(5 Ratings)
5 star 20%
4 star 20%
3 star 20%
2 star 20%
1 star 20%
John C. May 20, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This is a well written and thorough survey of the Matplotlib library with a solid introduction to the Seaborn library. You don't need to know anything about Matplotlib to get started. It starts with plotting a line through two points on default axes and adds more and more features to the examples as the book progresses.That said, you DO need a basic competency in Python to understand the explanations. This is, after all, a library of extensions to the Python language.Super helpful is full code for all the examples available for download. You can read the discussion, experiment with the example code and really understand what's going on. You'll need the free open source Jupyter Python IDE to run the code, but Jupyter is probably the most frequently used platform for running Matplotlib, and it's ideal for this kind of hands on learning.
Amazon Verified review Amazon
Saurabh Oct 02, 2019
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
Matplotlib is tedious but you need to know it whether you are using pandas based plotting or seaborn.I like the fact that book is very detailed. I don't know of a better book right now to learn matplotlib. However, the approach uses a lot of state based plotting, which is no longer recommended. For example it uses a lot of plt.xticks() instead of ax.xticks() approach.Another problem is it does not show how to make plots using pandas data frame plot method. Since most people making plots today are using pandas, I'm disappointed that the data frame plot method was not covered.Overall this book is not for beginner python users. It will be appreciated more by intermediate python and pandas users.
Amazon Verified review Amazon
Student of the Universe Oct 23, 2022
Full star icon Full star icon Full star icon Empty star icon Empty star icon 3
I've not a seasoned Python developer, so, when I purchased this book, I was pleased to see it has all the content I was interested in learning. I downloaded the code for this book from GitHub, worked through the first two chapters, and then in chapter 3, I ran into multiple errors right off. It appears that the book is out of date and the GitHub site is not updated for the latest Python 3 that is installed with Anaconda (I'm using the Mac). So, there is a chart where the author called out what is required for Windows 10. I will have to use Parallels on the Mac to see if that works. Pitty.
Amazon Verified review Amazon
Richard McClellan May 15, 2019
Full star icon Full star icon Empty star icon Empty star icon Empty star icon 2
It is a pretty good book. The code examples are clear, and well explained.HOWEVER. This is 2019. You buy a programming book (I bought the Kindle version) you expect to be able to access the code. Usually on-line or a download. Since you can't cut and past out of Kindle, typing in examples is wholly last century.Well, there is a website (packt) that supposedly lets you download. 95mb zipped file later, I find that it is some combination of pdf's and png's of output. No code. Some mysterious IPYNB extension. So--a last century level, effectively. Last century you got a CD.It would be at least 4 stars if I could get at the code without having to type it all in.Two stars because it isn't entirely worthless.
Amazon Verified review Amazon
Adrian Savage Apr 12, 2019
Full star icon Empty star icon Empty star icon Empty star icon Empty star icon 1
This is, as it says, a cookbook. That is it give recipes for many different uses for Matplotlib. What it fails to do is to give any useful information as to the Matplotlib modules, the uses to which they can be put and the syntax of each command. In fact, should you wish to find out how a call such as Matplotlib.dates.DateFormatter works, you will not even find it in the index. In fact date and time are not in the index so in the 652 mostly useless pages of the book, you will struggle to make a graph with date/time on the x axis. As a cookbook its recipes are without taste or interest.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is included in a Packt subscription? Chevron down icon Chevron up icon

A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content

How can I cancel my subscription? Chevron down icon Chevron up icon

To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.

What are credits? Chevron down icon Chevron up icon

Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.

What happens if an Early Access Course is cancelled? Chevron down icon Chevron up icon

Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.

Where can I send feedback about an Early Access title? Chevron down icon Chevron up icon

If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team. 

Can I download the code files for Early Access titles? Chevron down icon Chevron up icon

We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.

When we publish the book, the code files will also be available to download from the Packt website.

How accurate is the publication date? Chevron down icon Chevron up icon

The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.

How will I know when new chapters are ready? Chevron down icon Chevron up icon

We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.

I am a Packt subscriber, do I get Early Access? Chevron down icon Chevron up icon

Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.

How is Early Access delivered? Chevron down icon Chevron up icon

Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.

How do I buy Early Access content? Chevron down icon Chevron up icon

Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.

What is Early Access? Chevron down icon Chevron up icon

Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.