|
From: Paul H. <pmh...@gm...> - 2012-11-15 17:07:05
|
Hey Will, As a user, all I can tell you is that pylab is there for convenience when: 1) quickly and interactively exploring some new data or 2) making the switch over from matlab or some other numerical analysis framework. In general, if you're doing some serious work -- especially work that you might revisit at any point -- explicitly import the packages you need into proper namespaces. As an example for me, this typically amounts to: import matplotlib.pyplot as plt import numpy as np import scipy.stats as stats import pandas #as pd On Thu, Nov 15, 2012 at 8:22 AM, Will Furnass <wi...@th...> wrote: > On my machine these are rather confusingly different functions, with the > latter corresponding to numpy.random.power. I appreciate that pylab > imports everything from both the numpy and numpy.random modules but > wouldn't it make sense if pylab.power were the oft-used power > function rather than a means for sampling from the power distribution? > > Regards, > > Will Furnass > > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |