r/Python • • Aug 05 '19

Python's response to MATLAB

Post image
4.3k Upvotes

372 comments sorted by

View all comments

Show parent comments

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

2

u/monkeybreath Ignoring PEP 8 Aug 05 '19

Isn’t that just if you use matplotlub.pyplot? The underlying API is stateless. The only time I’ve had a problem is with legend(), mostly because I haven’t looked up the underlying API, though I tend to creat the legend entries separately.

1

u/mexiKobe Aug 05 '19

Doesn’t everyone use pyplot?

There was also pylab. Like I said, it was/is confusing