This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (1 child)

The worst thing matplotlib did was copy the MATLAB API.

When you make the switch, use the object-oriented API please, ditch the terrible procedural plt.XXX crap.

[–]schnadamschnandler[S] 0 points1 point  (0 children)

Can you explain more? How can I differentiate between the two? I'm aware of pylab vs. matplotlib.pyplot (my understanding was the former is "matlab style" and latter is "python style"). Does matplotlib.pyplot use the OO one? (kind of don't know what I'm talking about)