Movatterモバイル変換


[0]ホーム

URL:


Packt
Search iconClose icon
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.
Profile icon
Account
Close icon

Change country

Modal Close icon
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timerSALE ENDS IN
0Days
:
00Hours
:
00Minutes
:
00Seconds
Home> Data> Data Visualization> Matplotlib for Python Developers
Matplotlib for Python Developers
Matplotlib for Python Developers

Matplotlib for Python Developers: Effective techniques for data visualization with Python , Second Edition

Arrow left icon
Profile Icon Aldrin YimProfile Icon Claire ChungProfile Icon Allen Yu
Arrow right icon
AU$14.99AU$48.99
Full star iconFull star iconEmpty star iconEmpty star iconEmpty star icon2(2 Ratings)
eBookApr 2018300 pages2nd Edition
eBook
AU$14.99 AU$48.99
Paperback
AU$60.99
Subscription
Free Trial
Renews at AU$24.99p/m
Arrow left icon
Profile Icon Aldrin YimProfile Icon Claire ChungProfile Icon Allen Yu
Arrow right icon
AU$14.99AU$48.99
Full star iconFull star iconEmpty star iconEmpty star iconEmpty star icon2(2 Ratings)
eBookApr 2018300 pages2nd Edition
eBook
AU$14.99 AU$48.99
Paperback
AU$60.99
Subscription
Free Trial
Renews at AU$24.99p/m
eBook
AU$14.99 AU$48.99
Paperback
AU$60.99
Subscription
Free Trial
Renews at AU$24.99p/m

What do you get with eBook?

Product feature iconInstant access to your Digital eBook purchase
Product feature icon Download this book inEPUB andPDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature iconDRM FREE - Read whenever, wherever and however you want

Contact Details

Modal Close icon
Payment Processing...
tickCompleted

Billing Address

Table of content iconView table of contentsPreview book icon Preview Book

Matplotlib for Python Developers

A complete example

To get further acquainted with Matplotlib functions, let us plot a multiline plot with axes, labels, title, and legend configured in one single snippet.

In this example, we take real-world data from the World Bank on agriculture. As the world population continues to grow, food security continues to be an important global issue. Let us have a look at the production data of a few major crops in the recent decade by plotting a multiline plot with the following code:

Datasource:https://data.oecd.org/agroutput/crop-production.htmOECD (2017), Crop production (indicator). doi: 10.1787/49a4e677-en (Accessed on 25 December 2017)
# Import relevant modulesimportpandasaspdimportmatplotlib.pyplotasplt# Import datasetcrop_prod =pd.read_csv('OECD-THND_TONNES.txt',delimiter='\t')years =crop_prod[crop_prod['Crop']=='SOYBEAN...
Download code iconDownload Code

Key benefits

  • Perform effective data visualization with Matplotlib and get actionable insights from your data
  • Design attractive graphs, charts, and 2D plots, and deploy them to the web
  • Get the most out of Matplotlib in this practical guide with updated code and examples

Description

Python is a general-purpose programming language increasingly being used for data analysis and visualization. Matplotlib is a popular data visualization package in Python used to design effective plots and graphs. This is a practical, hands-on resource to help you visualize data with Python using the Matplotlib library. Matplotlib for Python Developers, Second Edition shows you how to create attractive graphs, charts, and plots using Matplotlib. You will also get a quick introduction to third-party packages, Seaborn, Pandas, Basemap, and Geopandas, and learn how to use them with Matplotlib. After that, you’ll embed and customize your plots in third-party tools such as GTK+3, Qt 5, and wxWidgets. You’ll also be able to tweak the look and feel of your visualization with the help of practical examples provided in this book. Further on, you’ll explore Matplotlib 2.1.x on the web, from a cloud-based platform using third-party packages such as Django. Finally, you will integrate interactive, real-time visualization techniques into your current workflow with the help of practical real-world examples.By the end of this book, you’ll be thoroughly comfortable with using the popular Python data visualization library Matplotlib 2.1.x and leveraging its power to build attractive, insightful, and powerful visualizations.

Who is this book for?

This book is essentially for anyone who wants to create intuitive data visualizations using the Matplotlib library. If you’re a data scientist or analyst and wish to create attractive visualizations using Python, you’ll find this book useful. Some knowledge of Python programming is all you need to get started.

What you will learn

  • Create 2D and 3D static plots such as bar charts, heat maps, and scatter plots
  • Get acquainted with GTK+3, Qt5, and wxWidgets to understand the UI backend of Matplotlib
  • Develop advanced static plots with third-party packages such as Pandas, GeoPandas, and Seaborn
  • Create interactive plots with real-time updates
  • Develop web-based, Matplotlib-powered graph visualizations with third-party packages such as Django
  • Write data visualization code that is readily expandable on the cloud platform

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date :Apr 24, 2018
Length:300 pages
Edition :2nd
Language :English
ISBN-13 :9781788628136
Category :
Languages :

What do you get with eBook?

Product feature iconInstant access to your Digital eBook purchase
Product feature icon Download this book inEPUB andPDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature iconDRM FREE - Read whenever, wherever and however you want

Contact Details

Modal Close icon
Payment Processing...
tickCompleted

Billing Address

Product Details

Publication date :Apr 24, 2018
Length:300 pages
Edition :2nd
Language :English
ISBN-13 :9781788628136
Category :
Languages :
Concepts :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
AU$24.99billed monthly
Feature tick iconUnlimited access to Packt's library of 7,000+ practical books and videos
Feature tick iconConstantly refreshed with 50+ new titles a month
Feature tick iconExclusive Early access to books as they're written
Feature tick iconSolve problems while you work with advanced search and reference features
Feature tick iconOffline reading on the mobile app
Feature tick iconSimple pricing, no contract
AU$249.99billed annually
Feature tick iconUnlimited access to Packt's library of 7,000+ practical books and videos
Feature tick iconConstantly refreshed with 50+ new titles a month
Feature tick iconExclusive Early access to books as they're written
Feature tick iconSolve problems while you work with advanced search and reference features
Feature tick iconOffline reading on the mobile app
Feature tick iconChoose a DRM-free eBook or Video every month to keep
Feature tick iconPLUS own as many other DRM-free eBooks or Videos as you like for just AU$5 each
Feature tick iconExclusive print discounts
AU$349.99billed in 18 months
Feature tick iconUnlimited access to Packt's library of 7,000+ practical books and videos
Feature tick iconConstantly refreshed with 50+ new titles a month
Feature tick iconExclusive Early access to books as they're written
Feature tick iconSolve problems while you work with advanced search and reference features
Feature tick iconOffline reading on the mobile app
Feature tick iconChoose a DRM-free eBook or Video every month to keep
Feature tick iconPLUS own as many other DRM-free eBooks or Videos as you like for just AU$5 each
Feature tick iconExclusive print discounts

Frequently bought together


Python Deep Learning Cookbook
Python Deep Learning Cookbook
Read more
Oct 2017330 pages
Full star icon3.7 (3)
eBook
eBook
AU$14.99AU$53.99
AU$67.99
AU$68.99
Building Serverless Applications with Python
Building Serverless Applications with Python
Read more
Apr 2018272 pages
Full star icon1.5 (2)
eBook
eBook
AU$14.99AU$60.99
AU$75.99
Matplotlib for Python Developers
Matplotlib for Python Developers
Read more
Apr 2018300 pages
Full star icon2 (2)
eBook
eBook
AU$14.99AU$48.99
AU$60.99
Stars icon
TotalAU$204.97
Python Deep Learning Cookbook
AU$67.99
Building Serverless Applications with Python
AU$75.99
Matplotlib for Python Developers
AU$60.99
TotalAU$204.97Stars icon
Buy 2+ to unlockAU$11.99 prices - master what's next.
SHOP NOW

Table of Contents

10 Chapters
Introduction to MatplotlibChevron down iconChevron up icon
Introduction to Matplotlib
What is Matplotlib?
Setting up Matplotlib
Summary
Getting Started with MatplotlibChevron down iconChevron up icon
Getting Started with Matplotlib
Loading data
Our first plots with Matplotlib
Adjusting axes, grids, labels, titles, and legends
A complete example
Saving plots to a file
Configuring Matplotlib
Summary
Decorating Graphs with Plot Styles and TypesChevron down iconChevron up icon
Decorating Graphs with Plot Styles and Types
Controlling the colors
Line and marker styles
More native Matplotlib plot types
Text and annotations
Using style sheets
Aesthetics and readability considerations in styling
Summary
Advanced MatplotlibChevron down iconChevron up icon
Advanced Matplotlib
Drawing Subplots
Adjusting axes and ticks
More on Pandas-Matplotlib integration
Expanding plot types with Seaborn 
Image plotting
Financial plotting
3D plots with Axes3D
Geographical plotting
Summary
Embedding Matplotlib in GTK+3Chevron down iconChevron up icon
Embedding Matplotlib in GTK+3
Installing and setting up GTK+3
Summary
Embedding Matplotlib in Qt 5Chevron down iconChevron up icon
Embedding Matplotlib in Qt 5
A brief introduction to Qt 5 and PyQt 5
Differences between Qt 4 and PyQt 4
Summary
Embedding Matplotlib in wxWidgets Using wxPythonChevron down iconChevron up icon
Embedding Matplotlib in wxWidgets Using wxPython
A brief introduction to wxWidgets and wxPython
Summary
Integrating Matplotlib with Web ApplicationsChevron down iconChevron up icon
Integrating Matplotlib with Web Applications
Installing Docker
More about Django
Showing Bitcoin prices using Django and Matplotlib
Summary
Matplotlib in the Real WorldChevron down iconChevron up icon
Matplotlib in the Real World
Typical API data formats
Importing and visualizing data from a JSON API
Scraping information from websites
Matplotlib graphical backends
Creating animated plot
Summary
Integrating Data Visualization into the WorkflowChevron down iconChevron up icon
Integrating Data Visualization into the Workflow
Getting started
Visualizing sample images from the dataset
Exploring the data nature by the t-SNE method
Creating a CNN to recognize digits
Evaluating prediction results with visualizations
Summary

Recommendations for you

Left arrow icon
LLM Engineer's Handbook
LLM Engineer's Handbook
Read more
Oct 2024522 pages
Full star icon4.9 (27)
eBook
eBook
AU$14.99AU$71.99
AU$89.99
Getting Started with Tableau 2018.x
Getting Started with Tableau 2018.x
Read more
Sep 2018396 pages
Full star icon4 (3)
eBook
eBook
AU$14.99AU$60.99
AU$75.99
Python for Algorithmic Trading Cookbook
Python for Algorithmic Trading Cookbook
Read more
Aug 2024406 pages
Full star icon4.3 (20)
eBook
eBook
AU$14.99AU$66.99
AU$82.99
RAG-Driven Generative AI
RAG-Driven Generative AI
Read more
Sep 2024338 pages
Full star icon4.3 (16)
eBook
eBook
AU$14.99AU$54.99
AU$67.99
Machine Learning with PyTorch and Scikit-Learn
Machine Learning with PyTorch and Scikit-Learn
Read more
Feb 2022774 pages
Full star icon4.4 (87)
eBook
eBook
AU$14.99AU$60.99
AU$75.99
AU$110.99
Building LLM Powered Applications
Building LLM Powered Applications
Read more
May 2024342 pages
Full star icon4.2 (21)
eBook
eBook
AU$14.99AU$55.99
AU$68.99
Python Machine Learning By Example
Python Machine Learning By Example
Read more
Jul 2024526 pages
Full star icon4.3 (25)
eBook
eBook
AU$14.99AU$50.99
AU$63.99
AI Product Manager's Handbook
AI Product Manager's Handbook
Read more
Nov 2024488 pages
eBook
eBook
AU$14.99AU$48.99
AU$60.99
Right arrow icon

Customer reviews

Rating distribution
Full star iconFull star iconEmpty star iconEmpty star iconEmpty star icon2
(2 Ratings)
5 star0%
4 star0%
3 star50%
2 star0%
1 star50%
dAug 02, 2018
Full star iconFull star iconFull star iconEmpty star iconEmpty star icon3
This book is a good introduction to Matplotlib with a few advanced topics, however, almost half of the book is dedicated to embedding matplotlib in various GUIs. This could have been a book by itself and internal functionality of matplotlib, pandas, and seaborn could have been greatly expanded. The authors do a great job of introducing the reader to fundamental matplotlib concepts, but fail to delineate the core of Pyplot vs the use of Axes/Figure. They do not go into detail about how these two are different, how to access similar functions through the Axes object, or even what an Axes object is before using it in the advanced matplotlib section. The coverage of subplots is fairly good, but overall, the book could be improved further.
Amazon Verified reviewAmazon
bikiteronNov 06, 2019
Full star iconEmpty star iconEmpty star iconEmpty star iconEmpty star icon1
I thought this book will be colour printed but this book is not colour printed.
Amazon Verified reviewAmazon

People who bought this also bought

Left arrow icon
Causal Inference and Discovery in Python
Causal Inference and Discovery in Python
Read more
May 2023466 pages
Full star icon4.5 (47)
eBook
eBook
AU$14.99AU$59.99
AU$74.99
Generative AI with LangChain
Generative AI with LangChain
Read more
Dec 2023376 pages
Full star icon4.1 (33)
eBook
eBook
AU$14.99AU$88.99
AU$110.99
Modern Generative AI with ChatGPT and OpenAI Models
Modern Generative AI with ChatGPT and OpenAI Models
Read more
May 2023286 pages
Full star icon4.1 (30)
eBook
eBook
AU$14.99AU$55.99
AU$68.99
Deep Learning with TensorFlow and Keras – 3rd edition
Deep Learning with TensorFlow and Keras – 3rd edition
Read more
Oct 2022698 pages
Full star icon4.5 (44)
eBook
eBook
AU$14.99AU$55.99
AU$68.99
Machine Learning Engineering  with Python
Machine Learning Engineering with Python
Read more
Aug 2023462 pages
Full star icon4.6 (37)
eBook
eBook
AU$14.99AU$55.99
AU$68.99
Right arrow icon

About the 3 authors

Left arrow icon
Profile icon Aldrin Yim
Aldrin Yim
Aldrin Yim is a PhD candidate and Markey Scholar in the Computation and System Biology program at Washington University, School of Medicine. His research focuses on applying big data analytics and machine learning approaches in studying neurological diseases and cancer. He is also the founding CEO of Codex Genetics Limited, which provides precision medicine solutions to patients and hospitals in Asia.
Read more
See other products by Aldrin Yim
Profile icon Claire Chung
Claire Chung
Claire Chung is pursuing her PhD degree as a Bioinformatician at the Chinese University of Hong Kong. She enjoys using Python daily for work and lifehack. While passionate in science, her challenge-loving character motivates her to go beyond data analytics. She has participated in web development projects, as well as developed skills in graphic design and multilingual translation. She led the Campus Network Support Team in college, and shared her experience in data visualization in PyCon HK 2017.
Read more
See other products by Claire Chung
Profile icon Allen Yu
Allen Yu
Allen Yu, PhD, is a Chevening Scholar, 2017-18, and an MSC student in computer science at the University of Oxford. He holds a PhD degree in Biochemistry from the Chinese University of Hong Kong, and he has used Python and Matplotlib extensively during his 10 years of bioinformatics experience. Apart from academic research, Allen is the co-founder of Codex Genetics Limited, which aims to provide a personalized medicine service in Asia through the use of the latest genomics technology.
Read more
See other products by Allen Yu
Right arrow icon
Getfree access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook?Chevron down iconChevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website?Chevron down iconChevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook?Chevron down iconChevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support?Chevron down iconChevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks?Chevron down iconChevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook?Chevron down iconChevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.

Create a Free Account To Continue Reading

Modal Close icon
OR
    First name is required.
    Last name is required.

The Password should contain at least :

  • 8 characters
  • 1 uppercase
  • 1 number
Notify me about special offers, personalized product recommendations, and learning tips By signing up for the free trial you will receive emails related to this service, you can unsubscribe at any time
By clicking ‘Create Account’, you are agreeing to ourPrivacy Policy andTerms & Conditions
Already have an account? SIGN IN

Sign in to activate your 7-day free access

Modal Close icon
OR
By redeeming the free trial you will receive emails related to this service, you can unsubscribe at any time.

[8]ページ先頭

©2009-2025 Movatter.jp