r/Python • • Aug 16 '21

Discussion Anyone else despises Matplotlib?

Every time I need to use mpl for a project I die a little inside. The API feels like using a completely different language, I simply can't make a basic plot without having to re-google stuff as everything feels anti intuitive.

Plus, the output bothers me too. Interactive plots feel extremely awkward, and its just wonky

EDIT: Despises working with matplotlib*. I'm thankful such a powerful library exists, and I get that for scientific papers and stuff like that it's great, but damn isn't it painful to use

711 Upvotes

165 comments sorted by

View all comments

Show parent comment

2

u/skr25 Aug 16 '21

Is this for putting in Latex documents? Then my favorite option is pgfplots. You can export from matplotlib. The advantage is that the text is human readable and you can modify stuff like the title and tick marks etc without going into matplotlib again

1

u/NerdEnPose Aug 17 '21

It is. I didn't event think about writing arrays directly to latex and letting a latex package take care of the rest. I'll have to check this out.