2013/7/23 Nelle Varoquaux <nelle.varoqu...@gmail.com>: > Hello, > > After a discussion with Olivier and Gaƫl, we think it is best to go with > ``from matplotlib import pyplot as plt`` instead of ``import pylab as pl``. > This is implies minor modifications to the examples. I'll update the current > examples. Please make sure when you create a new pull request to move to the > new import system ! > > FYI, here are the reasons we are moving from pylab to matplotlib; > 1. beginners are confused on which python package to install when having an > import error on ``import pylab as pl``; > 2. in general, the scientific python community is moving away from pylab. > This includes matplotliib, which rewrote completely all their examples; > 3. people working with scikit learn should not have any difficulties with > understand modules and submodules > 4. just for best practices;
+1 for using the ``from matplotlib import pyplot as plt` idiom from now on mostly to stop getting people reporting pylab errors on stackoverflow and then asking how to install pylab. -- Olivier http://twitter.com/ogrisel - http://github.com/ogrisel ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ Scikit-learn-general mailing list Scikit-learn-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/scikit-learn-general