Matplotlib for Python Developers - PUBLISHED!

Some days are passed, but I'm still pleased to announce that

The first book about Matplotlib has been PUBLISHED!!

It was a really nice experience, it offered me the possibility to work on Matplotlib, do some really interesting stuff, and I'm quite proud of it :)

On the other hand, it was not a "straight" way: the effort I put in this was huge, practically I had to stop all other stuffs and projects I was working on (Debian included) and I was getting more and more tired as time passed. Also, sometimes Packt employees and actions were somehow problematic. but anyhow, the important thing is that THE BOOK IS OUT!!

Now I got also a nice box about the book on the sidebar of this blog!

Enjoy it!!


Anonymous said...

I'm new to Python and Matplotlib and have little experience. Thus I'm very interested in your book. Could you, please, paste here its content?
I'd like to know what topics you approached, before order it.
Thanks in advance!

Sandro Tosi said...

@zara: hi! thanks for the interest in the book! The table of contents is available at the book website

Kartik Mistry said...

I'll grab it once available in India

Sandro Tosi said...

@Kartik: cool, thanks! the editoring team is in India, so I hope that'd be soon enough :)

vpetro said...

Thanks for a wonderful book.

Anonymous said...


Hi I've bought a copy of your book and it reads well.
In the above code, on line 11, is the comma after the l neccessary or have any function. I am fairly to python.

Sandro Tosi said...

@crumble: did you try without the comma? :) plt.plot returns a list or Line2D object; in this case, since we are only drawing 1 line, the syntax "l," is python syntax sugar to take the first element of the returned list and assign it to "l" and discard the rest (that's an empty list).

Anonymous said...
This comment has been removed by a blog administrator.
Anonymous said...

Hi Sandro,
Yes I did try it without the comma and it still worked so it had me a little puzzled. I'm still a bit new to all this stuff which is why I bought your book. I appreciated your reply.
Thanks so much for the section on embedding matplotlib into QT4. That was just the glue I was looking for.
Reading you blog, I notice you may have have culled some stuff from a 'science' chapter. Is there anything extra you might publish on the web that didn't make the book?

Sandro Tosi said...

@crumble: yes, without the comma it still works, but it's better with it, do you agree? :)

about "science" stuff, I was asking if someone had ideas about what I can add to teh book about science, but not too technical (sadly my science part is sleeping since years), but very few replied. If you have something in mind, please tell me and I'll see what I can do :)

Guenael said...

I just ordered the book and look forward to receiving & reading it. I've been using matplotlib intensively in the last week and I really need some printed documentation! I'm waaaaay too used to Matlab.

Ondřej Čertík said...

Hi Sandro!

Congrats to the book! I just noticed it today. I have recently figured out how you can cheaply publish any book yourself:


In case you decided to publish some more books in the future.


Sandro Tosi said...

@Ondřej: thanks and congrats for your freshly printed book!

This book started from a different ground: the publisher asked me to write it, yours started from your willingness and desire to produce one. I'm sure you're quite proud of it, like me :)