[SciPy-dev] Fwd: [matplotlib-devel] standard abbreviation for pyplot or pylab?
Jarrod Millman
millman at berkeley.edu
Sun Apr 13 06:01:09 EDT 2008
I just realized that this discussion was only on the matplotlib
mailing list. Basically, they were clarifying that the import
statement for pyplot should be:
import matplotlib.pyplot as plt
Sorry for the confusion,
---------- Forwarded message ----------
From: Jarrod Millman <millman at berkeley.edu>
Date: Sun, Apr 13, 2008 at 2:58 AM
Subject: Re: [matplotlib-devel] standard abbreviation for pyplot or pylab?
To: John Hunter <jdh2358 at gmail.com>
Cc: Eric Firing <efiring at hawaii.edu>, matplotlib development list
<matplotlib-devel at lists.sourceforge.net>
On Sat, Apr 12, 2008 at 3:24 PM, John Hunter <jdh2358 at gmail.com> wrote:
> On Sat, Apr 12, 2008 at 2:19 PM, Eric Firing <efiring at hawaii.edu> wrote:
> > and then this was added, as something else that had been agreed at the
> > same sprint:
> > import pylab as plt
> > I think this is a mistake, and it should have been
> >
> > import matplotlib.pyplot as plt
>
> This is what we agreed to (import matplotlib.pyplot as plt) during the
> numpy sprint (I was on google chat remotely but participated in the
> discussion). I agree that pylab as plt would just add to the
> confusion. We agreed on promoting (and I currently use)
>
>
> import numpy as np
> import scipy as sp
>
> import matplotlib.pyplot as plt
Sorry, that was my mistake. Thanks for clearing it up.
--
Jarrod Millman
Computational Infrastructure for Research Labs
10 Giannini Hall, UC Berkeley
phone: 510.643.4014
http://cirl.berkeley.edu/
--
Jarrod Millman
Computational Infrastructure for Research Labs
10 Giannini Hall, UC Berkeley
phone: 510.643.4014
http://cirl.berkeley.edu/
More information about the SciPy-Dev
mailing list