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/Verbose_Code Aug 16 '21

I agree with your comment except people using MATLAB out of inertia. Granted, I’m coming from the perspective of an engineering undergraduate. MATLAB has a lot of very powerful data processing tools that are used a lot in industry. MATLAB also integrates with Simulink, which python does not AFAIK.

If you already have experience plotting in MATLAB, then MPL should feel really familiar. Like you said though, if you don’t already have experience plotting in MATLAB, or are not familiar with that kind of low level plotting, then it’s best to choose a high level library.

MPL shouldn’t be ignored altogether though. If you’re doing a lot of data visualization, then learning MPL or another library with a similar level of granularity wouldn’t be a bad idea.