I just realized that this discussion was only on the matplotlib mailing list. Basically, they were clarifying that the import statement for pylab should be: import matplotlib.pyplot as plt
Sorry for the confusion, ---------- Forwarded message ---------- From: Jarrod Millman <[EMAIL PROTECTED]> Date: Sun, Apr 13, 2008 at 2:58 AM Subject: Re: [matplotlib-devel] standard abbreviation for pyplot or pylab? To: John Hunter <[EMAIL PROTECTED]> Cc: Eric Firing <[EMAIL PROTECTED]>, matplotlib development list <[EMAIL PROTECTED]> On Sat, Apr 12, 2008 at 3:24 PM, John Hunter <[EMAIL PROTECTED]> wrote: > On Sat, Apr 12, 2008 at 2:19 PM, Eric Firing <[EMAIL PROTECTED]> 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/ _______________________________________________ Numpy-discussion mailing list [email protected] http://projects.scipy.org/mailman/listinfo/numpy-discussion
