Matplotlib for Python Developers
Use the Amazon App to scan ISBNs and compare prices.
There is a newer edition of this item:
Frequently bought together

- +
- +
Customers who viewed this item also viewed
Editorial Reviews
About the Author
Sandro Tosi
Sandro Tosi is a Debian Developer, Open Source evangelist, and Python enthusiast. After completing a B.Sc. in Computer Science from the University of Firenze, he worked as a consultant for an energy multinational as System Analyst and EAI Architect, and now works as System Engineer for one of the biggest and most innovative Italian Internet companies.
Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.
Product details
- Publisher : Packt Publishing (November 12, 2009)
- Language : English
- Paperback : 308 pages
- ISBN-10 : 1847197906
- ISBN-13 : 978-1847197900
- Item Weight : 1.23 pounds
- Dimensions : 7.5 x 0.7 x 9.25 inches
- Best Sellers Rank: #678,333 in Books (See Top 100 in Books)
- #823 in Python Programming
- #890 in Web Design (Books)
- #1,959 in Computer Programming Languages
- Customer Reviews:
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonTop reviews from the United States
There was a problem filtering reviews right now. Please try again later.
That being said, "Matplotlib for Python developers" does a pretty good job of introducing the reader to the basic capabilities of the mpl package. It describes how to write simple Python scripts to tackle common graphing tasks, and then how to pretty up the output for inclusion in a paper or presentation. What I found lacking was the kind of in-depth knowledge I wanted to see regarding embedding mpl into Python applications. For me it would have been more useful if it had at least included an index of mpl's classes and methods, with some discussion to build on what is already included with the mpl package. The examples given were fine, in and of themselves, but there is no real guidance as to how to take it beyond that. Some additional detailed examples of how to extend mpl's classes and what methods one might want to override would have been most useful.
All in all, it's a good place to start for someone who's never worked with Matplotlib before, and it offers the more advanced reader a sampler of what can be done with a little effort. I've been recommending this book to my colleagues who have expressed an interest in using Python to expand their repertoire beyond the realm of MATLAB and gnuplot. If a second edition includes some additional low-level technical details and examples (perhaps in a couple of appendices), then I think it could be a much more useful book and appeal to a wider audience.
15 years. Until now, all I could do in the Matplotlib unit is
throw some small examples at the students and then point them
at the 800 pages of reference documentation and say "Here is
documentation for the 10,000 tiny pieces of Matplotlib. Good
luck figuring out how to assemble them."
Tosi's book is exactly what Matplotlib has needed for so long: a
proper tutorial. He starts with the absolute basics: plot Y
against X; add a title; add axis labels; plot two functions of
the same variable; and so on, a progression that eases the new
user first into the features that most people will use.
The writing is clear, and the examples constructed and explained
well, with a nice balance of theory and practice.
In particular I appreciate the shift in chapter 4 to a more
Pythonic, object-oriented approach. The author places Pylab in
its proper context (great for playing around) but I agree that
for serious production applications and modular design the object
approach is the way to go.
The only extremely minor quibbles I have are with the editing.
None of the editorial crew seem to be native English speakers.
Take for example the highly useful diagram on page 59, "Plot
types". This diagram helps you figure out what kind of plot
fills your needs. However, the title is "Chart Suggestions -- A
Tought-Starter [sic]"; that should be "Thought-Starter". On the
same diagram, there are two references to "Tree Variables" that
probably should be "Three variables".
However, don't let that put you off. This is just the right book
for people starting out. I found very few typos, and none of
them reduced the book's usefulness.
One gripe is that all figures are gray-scale, yet the book talks about the colors in the graphs. I'm guessing that the eBook version will contain color. If you buy direct from the publisher you may be able to get a worthwhile combo price on both book and eBook.
A general note about publishers: I have found that some publishers of software books have a very consistent style, no matter who the author. Some publishers print nothing but worthless blather - now I can quickly ID books that are not worth looking at. I am not familiar with this publisher - Packt - but I will definitely look at other books by them.
One caveat -- the print book has figures that are not in color although the text is illustrating color plotting. That is why I gave it only 4 stars rather than the full 5.
The electronic copy has the color graphs.
Again, I have found the book to be very useful.
Top reviews from other countries
Der Untertitle "for Python Developers" ist irreführend, da das Niveau sehr niedrig ist.
Als Nachschlagewerk ist dieses Buch völlig ungeeignet.
Néanmoins, ce livre est un bon aide-mémoire pour rapidement retrouver une fonction de Matplotlib. Il peut également être utilisé comme support pour attirer de nouveaux utilisateurs, notamment en ingénieurie où les élèves se focalisent trop souvent sur Excel sans essayer de voir ailleurs.
Assez léger seulement 270 pages pour un sujet très vaste...
Le site web de Matplotlib sur sourceforge regorge de plus de 300 exemples par les auteurs de Matplotlib eux même plus
de nombreuses documentations.
dans l'ensemble il s'agit d'un bon livre mais qui ne vous expliquera que le ba-ba.
この本の後半はPyQt、Tkinter、WxPythonのGUIにMatplotlibのFigureを貼り付ける方法が具体的に書いてあり、とても参考になりました。
この本だけで、Matplotlibの機能をすべて使いこなせる様になるわけではないでしょうが、私の場合はとても参考になったので星5にしました。
英語ですが、中学生レベルの私でも読めます。
オシロみたいなリアルタイムグラフ描画もQt上でできて、ちょっと自画自賛してます。
この内容であれば、Matplotlibのホームページでその都度確認するか、インターネット検索で済ませられます。
でも、初歩の方であれば良いのかもしれません。








