Matplotlib for Storytellers
Minimum price
Minimum paid price

Matplotlib for Storytellers

Python Data Visualization

About the Book


This book is written for frustrated and reluctant matplotlib users who care about crafting good data visuals. Matplotlib can be a blank canvas, offering more room for customization than you might find in Microsoft Excel, and offers the advantages of reproducibility and automation that come from working with Python. Still, becoming comfortable with matplotlib requires a lot of patience. I wrote this book to help make that easier and put some essentials in one place.

This book itself doesn't show you how to make particular chart types. The idea is you already have a bar chart, line plot, histogram, etc, but that it's ugly. The book helps you figure out how to beautify your charts and helps make those steps seem less mysterious.


Find more, code and demos, on the accompanying GitHub repo.

Contents (not all included in current draft)

  1. The Object-oriented Interface
  2. Axes Appearance, Ticks, and Grids
  3. Elements and Coordinate Systems
  4. Text and Titles
  5. Dates
  6. Colors
  7. Multiple Axes and Plots
  8. Style and Configuration
  9. Math Interlude
  10. Math Interlude - Applications
  11. Artist Objects
  12. Artist Objects - Applications
  13. Special Topics - Multi-dimensional Scaling
  14. Special Topics - Intro Stats Graphs
  15. Special Topics - Ternary Plots

About the Author

Alexander Clark
Alexander Clark

I'm on the Economic Graph Research and Insights Team at LinkedIn. I teach on the side. I earned a PhD in economics with a focus on microeconomic theory.

Get in touch with me through LinkedIn.

The Leanpub 60-day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms

80% Royalties. Earn $16 on a $20 book.

We pay 80% royalties. That's not a typo: you earn $16 on a $20 sale. If we sell 5000 non-refunded copies of your book or course for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earnedover $12 millionwriting, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub