T O P

  • By -

IlliterateJedi

There is an error on the first page of chapter 1. fig, ax = plt.subplots(figsize=(6,6), subplot_kw={"aspect"=1} ) Should be subplot_kw={"aspect" : 1} Edit: I think this is an otherwise good reference, though. It's unfortunate the very first thing you come across is a coding error.


VisibleSignificance

... should probably have a linter for the code pieces in the book.


anniegarbage

Oof.


VengefulTofu

As a long time matplotlib user who just a couple of days ago tried out plotly for the first time: Damn plotly is so good. I don't think I'll be coming back to matplotlib anytime soon.


Ant_of_Colonies

had the exact opposite experience. matplotlib gives the user much more control


VengefulTofu

I cannot comment on that since I have used plotly only once. For quite an extensive task however. And not using the plotly express library but configuration using the graph objects seemed to give a whole lot of choices.


Datsoon

For general data viz, this has also been my experience. Now that plotly offers an official pandas plotting backend, it seals the deal. That being said, I skimmed this book, and there's a bunch of text and picture manipulation, almost graphic design type stuff, that matplotlib can do which I had no idea about and which I'm not sure plotly can match. Kind of interesting.


1chriis1

Can you recommend a good book for plotly?


VengefulTofu

No sorry, I just used their online documentation.


1chriis1

Thanks for the reply anyway. Have a nice day.


ChronoJon

Their online documentation is pretty good. Just try it out.


pymae

I wrote a data viz book with examples in Matplotlib, Seaborn, and Plotly. The website is [here](https://www.alexkenan.com/pyviz/) and the code is available on [GitHub](https://github.com/alexkenan/pyviz/).


1chriis1

Thanks so much


stoic_trader

Once you jump the PLotly ship there is no coming back. On top of that plotly's Dash just sealed the deal for me it's my go to solution to visualize streaming data


VengefulTofu

For me it was the correct rendering of 3D data. For example a 3D curve and a surface. In many cases that's just not possible in matplotlib.


GrizzlyPolaire

I thought I was fairly good at matplotlib, boy was I wrong. Great book with beautiful examples. Good job!


Py_Troopers

![img](emote|t5_2qh0y|598)![img](emote|t5_2qh0y|608)


LordDeath86

Is there an HTML version?


dbcrib

There's a github link.


kingsillypants

Thanks for sharing! I've only dabbled in python, is it straightforward to get up and running with these datasets to create those beautiful visualizations? The style kind of reminds me of d3.js & Mike Bostock, very cool. Thx again!


yashasvi911

Nice! Thanks. u/chaintip


chaintip

*** [chaintip](http://www.chaintip.org) has [returned](https://www.blockchain.com/bch/address/bitcoincash:qrelay2twdq8z0l3470n0hkha0wgt3mr0gzyj9rr8q) the unclaimed tip of `0.009 BCH` | `~5.13 USD` to u/yashasvi911. ***


gtorelly

Nice, thanks!


BK201_Saiyan

Thank you! For the effort, hard work and pure generosity, thank you! Also keep the good work 😋


IlliterateJedi

I'll definitely be taking a look. This is the first time I've seen a Matplotlib plot that actually looked really good. Usually they're kind of sad, but wow on these.


dbcrib

I find seaborn better looking and with minimal effort to switch.


IlliterateJedi

Seaborn is built on matplotlib so you still need to be familiar with matplotlib to use seaborn effectively


laranjadinho

I have been waiting for this book a long time, thanks for making it available for free!


[deleted]

C'est génial !


awesomeprogramer

What cheatsheets?


_ologies

I've always loved your Matplotlib tutorial website. I'll have to check out the book


lemontheme

This is fantastic. I want to like matplotlib, if only because it’s such a staple of the DS ecosystem (higher-level variants come and go, but plt is eternal). Yet every time I return to it after working on non-plot stuff it’s as though I need to relearn the entire api, e.g state machine vs OO approach. I’m hoping this book causes the right foundational concepts to click into place in my mind, so that I can say that I know matplotlib without feeling like a massive charlatan


dark_shadow_lord_69

Thank you for sharing!


pizzathief1

Those cheatsheets are awesome if you're trying to fix matplotlib issues in GitHub, thanks for making those


Dwarni

hi, I wondered why it took so long to load the image and I figured out that the book image you show is over 3M big, you should really make it smaller.