Matplotlib for Python Developers Effective techniques for data visualization with Python 2nd Edition Yim download
Matplotlib for Python Developers Effective techniques for data visualization with Python 2nd Edition Yim download
https://textbookfull.com/product/matplotlib-for-python-
developers-effective-techniques-for-data-visualization-with-
python-2nd-edition-yim/
https://textbookfull.com/product/python-data-analytics-with-
pandas-numpy-and-matplotlib-2nd-edition-fabio-nelli/
https://textbookfull.com/product/python-data-analytics-with-
pandas-numpy-and-matplotlib-nelli/
https://textbookfull.com/product/practical-python-data-
visualization-a-fast-track-approach-to-learning-data-
visualization-with-python-ashwin-pajankar/
https://textbookfull.com/product/python-unit-test-automation-
practical-techniques-for-python-developers-and-testers-1st-
edition-ashwin-pajankar/
Python for Data Science 2nd Edition John Paul Mueller
https://textbookfull.com/product/python-for-data-science-2nd-
edition-john-paul-mueller/
https://textbookfull.com/product/python-data-analysis-perform-
data-collection-data-processing-wrangling-visualization-and-
model-building-using-python-3rd-edition-avinash-navlani/
https://textbookfull.com/product/python-digital-forensics-
cookbook-effective-python-recipes-for-digital-investigations-1st-
edition-preston-miller/
https://textbookfull.com/product/data-visualization-with-python-
and-javascript-scrape-clean-explore-transform-your-data-1st-
edition-kyran-dale/
https://textbookfull.com/product/effective-python-90-specific-
ways-to-write-better-python-2nd-edition-brett-slatkin/
Matplotlib for Python Developers
Second Edition
BIRMINGHAM - MUMBAI
Matplotlib for Python
Developers Second Edition
Copyright © 2018 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or
transmitted in any form or by any means, without the prior written permission of the publisher,
except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information
presented. However, the information contained in this book is sold without warranty, either express
or implied. Neither the authors, nor Packt Publishing or its dealers and distributors, will be held
liable for any damages caused or alleged to have been caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and
products mentioned in this book by the appropriate use of capitals. However, Packt Publishing
cannot guarantee the accuracy of this information.
www.packtpub.com
Cancer has taken away my grandfather, my aunt, and my friend, I hate cancer. This book is
dedicated to the memory of my grandfather, ChiuKhan Chan, who thought I shouldn’t study that
much. May he rest in peace.
– Aldrin Yim
mapt.io
Great pleasure to work with Allen and Claire. Also special thanks to Mayur and his team for
making the writing process comfortable to us.
I feel honored to take part in this fantastic project. Special thanks to Mayur and Aldrin for leading
the production process. Besides, I wish to thank my fiancée for her love and support. I am also
grateful to be sponsored by the Chevening Scholarship, which is funded by the UK Foreign and
Commonwealth Office (FCO) and partner organizations.
What this book covers
Chapter 1 , Introduction to Matplotlib, gets you familiar with the
capabilities and functionalities of Matplotlib.
Dedication
Packt Upsell
Why subscribe?
PacktPub.com
Contributors
Preface
Conventions used
Get in touch
Reviews
1. Introduction to Matplotlib
What is Matplotlib?
Merits of Matplotlib
Easy to use
codec
Changes in default styles
Raster images
Vector images
Setting up Matplotlib
Installing Python
Installing Matplotlib
manager
server
Editing and running code
Documenting in Markdown
Summary
Loading data
List
NumPy array
pandas DataFrame
Line plot
Scatter plot
Multiline plots
Adding a grid
Adding a title
Adding a legend
A complete example
Jupyter support
Configuring Matplotlib
Summary
3. Decorating Graphs with Plot Styles and Types
Depth of grayscale
Colormaps
Marker styles
arguments
Line styles
Color
Line thickness
Dash patterns
Designing a custom dash style
Cap styles
Spines
Histogram
Bar plot
multivariate data
Mean-and-error plots
Pie chart
Polar chart
Font
Mathematical notations
Mathtext
LaTeX support
External text renderer
Arrows
Keeping it simple
Summary
4. Advanced Matplotlib
Drawing Subplots
with plt.subplot()
with plt.subplots()
Shared axes
Setting the margin with plt.tight_layout()
plt.subplot2grid()
plt.subplots_adjust
with MultipleLocator
plots
clustermap
Image plotting
Financial plotting
Geographical plotting
Basemap
GeoPandas
Summary
Installing Glade
Summary
6. Embedding Matplotlib in Qt 5
Summary
Summary
Installing Docker
Summary
CSV
JSON
Non-interactive backends
Interactive backends
Summary
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
textbookfull.com