Re: [Numpy-discussion] Synonym standards

2012-07-27 Thread Derek Homeier
On 27.07.2012, at 8:30PM, Fernando Perez wrote: > On Fri, Jul 27, 2012 at 9:43 AM, Derek Homeier > wrote: >> thanks, that was exactly what I was looking for - together with >> >> c.TerminalIPythonApp.exec_lines = ['import sys', >> 'import numpy as np', >>

Re: [Numpy-discussion] Synonym standards

2012-07-27 Thread Fernando Perez
On Fri, Jul 27, 2012 at 9:43 AM, Derek Homeier wrote: > thanks, that was exactly what I was looking for - together with > > c.TerminalIPythonApp.exec_lines = ['import sys', >'import numpy as np', >'import matplotlib as mpl', >

Re: [Numpy-discussion] Synonym standards

2012-07-27 Thread Derek Homeier
On 27 Jul 2012, at 17:58, Tony Yu wrote: > On Fri, Jul 27, 2012 at 11:39 AM, Derek Homeier > wrote: > On 27.07.2012, at 3:27PM, Benjamin Root wrote: > > > > I would prefer not to use: from xxx import *, > > > > > > because of the name pollution. > > > > > > The name convention that I copied a

Re: [Numpy-discussion] Synonym standards

2012-07-27 Thread Tony Yu
On Fri, Jul 27, 2012 at 11:39 AM, Derek Homeier < de...@astro.physik.uni-goettingen.de> wrote: > On 27.07.2012, at 3:27PM, Benjamin Root wrote: > > > > I would prefer not to use: from xxx import *, > > > > > > because of the name pollution. > > > > > > The name convention that I copied above fac

Re: [Numpy-discussion] Synonym standards

2012-07-27 Thread Derek Homeier
On 27.07.2012, at 3:27PM, Benjamin Root wrote: > > I would prefer not to use: from xxx import *, > > > > because of the name pollution. > > > > The name convention that I copied above facilitates avoiding the pollution. > > > > In the same spirit, I've used: > > import pylab as plb > > But in t

Re: [Numpy-discussion] Synonym standards

2012-07-27 Thread Benjamin Root
On Thu, Jul 26, 2012 at 7:12 PM, Robert Kern wrote: > On Fri, Jul 27, 2012 at 12:05 AM, Colin J. Williams > wrote: > > On 26/07/2012 4:57 PM, Benjamin Root wrote: > > > > > > On Thu, Jul 26, 2012 at 4:45 PM, Colin J. Williams wrote: > >> > >> It seems that these standards have been adopted, whi

Re: [Numpy-discussion] Synonym standards

2012-07-26 Thread Robert Kern
On Fri, Jul 27, 2012 at 12:05 AM, Colin J. Williams wrote: > On 26/07/2012 4:57 PM, Benjamin Root wrote: > > > On Thu, Jul 26, 2012 at 4:45 PM, Colin J. Williams wrote: >> >> It seems that these standards have been adopted, which is good: >> >> The following import conventions are used throughout

Re: [Numpy-discussion] Synonym standards

2012-07-26 Thread Colin J. Williams
On 26/07/2012 4:57 PM, Benjamin Root wrote: On Thu, Jul 26, 2012 at 4:45 PM, Colin J. Williams wrote: It seems that these standards have been adopted, which is good:

Re: [Numpy-discussion] Synonym standards

2012-07-26 Thread Colin J. Williams
Sent from my BlackBerry® PlayBook™ www.blackberry.com -- *From:* "Benjamin Root" *To:* "Discussion of Numerical Python" *Sent:* 26 July 2012 16:57 *Subject:* Re: [Numpy-discussion] Synonym standards On Thu, Jul 26, 2012 at 4:45 PM, Colin J. Wil

Re: [Numpy-discussion] Synonym standards

2012-07-26 Thread Benjamin Root
On Thu, Jul 26, 2012 at 4:45 PM, Colin J. Williams wrote: > It seems that these standards have been adopted, which is good: > > The following import conventions are used throughout the NumPy source and > documentation: > > import numpy as np > import matplotlib as mpl > import matplotlib.pyplot

[Numpy-discussion] Synonym standards

2012-07-26 Thread Colin J. Williams
It seems that these standards have been adopted, which is good: The following import conventions are used throughout the NumPy source and documentation: import numpy as np import matplotlib as mpl import matplotlib.pyplot as plt Source: https://gi