On 07/23/2013 07:39 PM, Nelle Varoquaux wrote:
> 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``.

+1 for matplotlib.pyplot

I'm a bit surprised that

from matplotlib import pyplot as plt

is the idiom, though. I thought it was

import matplotlib.pyplot as plt

(which is shorter and is used by Jake: 
http://matplotlib.org/xkcd/examples/api/histogram_path_demo.html)

[Not that I care strongly, though a consistent idiom makes scanning code 
a little faster]

------------------------------------------------------------------------------
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

Reply via email to