Re: [Matplotlib-users] Which api to learn?

2014-05-01 Thread Michiel de Hoon
On Wed, 4/30/14, Neal Becker ndbeck...@gmail.com wrote: Subject: [Matplotlib-users] Which api to learn? To: matplotlib-users@lists.sourceforge.net Date: Wednesday, April 30, 2014, 7:49 AM I've never used matlab (and hope never to have to).  But I've been using pyplot api for mpl for quite

Re: [Matplotlib-users] Which api to learn?

2014-05-01 Thread Yuxiang Wang
an api. I don't care so much if pyplot agrees with matlab or not, but it should be something easy that new users can pick up quickly. Best, -Michiel On Wed, 4/30/14, Neal Becker ndbeck...@gmail.com wrote: Subject: [Matplotlib-users] Which api

Re: [Matplotlib-users] Which api to learn?

2014-05-01 Thread Benjamin Root
: Subject: [Matplotlib-users] Which api to learn? To: matplotlib-users@lists.sourceforge.net Date: Wednesday, April 30, 2014, 7:49 AM I've never used matlab (and hope never to have to). But I've been using pyplot api for mpl for quite a while. Is there any good reason

[Matplotlib-users] Which api to learn?

2014-04-30 Thread Neal Becker
I've never used matlab (and hope never to have to). But I've been using pyplot api for mpl for quite a while. Is there any good reason to move to the native mpl api and drop pyplot? I ask because as I understand, pyplot is intended as a matlab workalike, and since I never learned matlab I

Re: [Matplotlib-users] Which api to learn?

2014-04-30 Thread Benjamin Root
I wrote up my answer to this question on stackoverflow once: https://stackoverflow.com/questions/19895262/when-to-use-the-matplotlib-pyplot-class-and-when-to-use-the-plot-object-matplot/21004357#21004357 Others may have different opinions or variations on the theme, but this is how I look at the

Re: [Matplotlib-users] Which api to learn?

2014-04-30 Thread Paul Hobson
The only pyplot function I let myself use is plt.subplots() to quickly create the Figure and Axes objects. From that point on, I operate on those objects directly. Frankly, it reads almost exactly like pyplot code, but it is a *lot* more clear what's going on. On Wed, Apr 30, 2014 at 4:49 AM,

Re: [Matplotlib-users] Which api to learn?

2014-04-30 Thread Neal Becker
Paul Hobson wrote: The only pyplot function I let myself use is plt.subplots() to quickly create the Figure and Axes objects. From that point on, I operate on those objects directly. Frankly, it reads almost exactly like pyplot code, but it is a *lot* more clear what's going on. ...