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
View all comments
Show parent comment
5
u/[deleted] Aug 16 '21
This particular one is unnerving to me... Wasn't there a better way of having
pyplotattributes inherited byaxes? Why do I need to dopyplot.xlabel('...')but on the other hand also need to know that you useaxes.set_xlabel('...')? I know this is minor but it's extremely inconsistent and I don't understand the need for two different types of objects that at the end do the same thing, but by means of different attributes