Enter your mobile number below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
Getting the download link through email is temporarily not available. Please check back later.
To get the free app, enter your mobile phone number.
Matplotlib for Python Developers Paperback – November 9, 2009
|New from||Used from|
ITPro.TV Video Training
Take advantage of IT courses online anywhere, anytime with ITPro.TV. Learn more.
Frequently Bought Together
Customers Who Bought This Item Also Bought
About the Author
If you buy a new print edition of this book (or purchased one in the past), you can buy the Kindle edition for only $2.99 (Save 82%). Print edition purchase must be sold by Amazon. Learn more.
For thousands of qualifying books, your past, present, and future print-edition purchases now lets you buy the Kindle edition for $2.99 or less. (Textbooks available for $9.99 or less.)
Top Customer Reviews
Matplotlib for Python Developers by Sandro Tosi is a welcome addition to my bookshelf. It focuses on embedding Matplotlib in applications in GTK+, Qt 4, wxWidgets, and even various web frameworks such as Pylons and Django. But the fundamental elements of the scientific Python tool chain, such as NumPy and IPython, as well as a thorough tutorial of Matplotlib itself are discussed. Both the pylab/pyplot procedural interface (useful for interactive plotting) and object-oriented interface (useful for fine-tuning and more advanced usage) are covered. Over 2000 lines of example code are downloadable from the book site.
Seeing as I don't use Matplotlib regularly, I'm sure I will using this book frequently to brush up on Matplotlib basics. And this book would have saved me a lot of time when I was writing my only major Python project, a PyQt 4 application which embedded interactive Matplotlib graphics. While this book doesn't cover every detail of Matplotlib (the online docs are good for that), it will get you started no matter how you are using it.
The publisher has made a sample chapter on embedding Matplotlib in Qt4 available for download. More information, such as a full table of contents, is also available on the publisher's site.
Full disclosure: I received a review copy of this book.
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.
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.
Most Recent Customer Reviews
Repeating a trivial example under different platforms. Not a very imformative bookPublished 21 months ago by SkyGazer
This book is a very good starting point for users new to Matplotlib. It was even useful after using Matplotlib occasionally for the past two years.Published 22 months ago by Winston Holmes
I am into this language because of the 3D plotting abilities. I think that this will allow me to do some fantastic figures.Published on January 29, 2014 by david t. Pitts
Overall I found this to be an excellent learning tool. The writing is clear and the printing good for python, which is a language that requires exact spacing for the syntax to... Read morePublished on January 28, 2014 by Alchemist
Pretty much cut and paste from the documentation on line. I was hoping for some good examples and got a few examples that helped me out some but not nearly as extensive as I would... Read morePublished on November 21, 2013 by Deadwood
While the introductions seem to go on endlessly once you get into the meat of the book it is everything you might want in a basic how to book. Read morePublished on August 3, 2013 by AOL Jack
This book provided me with the info I needed to successfully integrate Matplotlib into a wxPython app. Read morePublished on February 14, 2013 by A. Page
Really enjoyed this and it was very helpful!
I will recommend to any upcoming Python developer, especially for students in research development!
This is a well written book with plenty of examples. I am using it in the kindle form and the formatting is a little wonky when you look at the source code. Read morePublished on November 26, 2012 by Christopher Lirakis