r/Python • • Aug 05 '19

Python's response to MATLAB

Post image
4.3k Upvotes

372 comments sorted by

View all comments

125

u/[deleted] Aug 05 '19

Why would matlab feel bad for python?

405

u/Alexanderdaawesome Aug 05 '19

Because Python needs to type

import numpy as np

Before doing anything MATLAB can do.

0

u/[deleted] Aug 05 '19

[deleted]

34

u/mexiKobe Aug 05 '19

matplotlib’s decision to include MATLAB-like state machine plotting was really stupid. It used to be extremely confusing and I would just write to file and use GNUplot

6

u/[deleted] Aug 05 '19

but... ggplot! seaborn! There are other options /s ;-)

Plotting is one of Python's bit weaknesses, IMO

4

u/mexiKobe Aug 05 '19

Apparently there is a python package called plotnine that is a pretty good ggplot2 alternative.

→ More replies (2)

2

u/billsil Aug 07 '19

Relative to Matlab, it's better. Matplotlib has a B-list API that is very much like Matlab, but it has other ones that are better.

→ More replies (2)