[Scipy-tickets] [SciPy] #1421: scipy.stats.poisson has wrong documentation

SciPy Trac scipy-tickets@scipy....
Sat Dec 31 08:02:12 CST 2011

#1421: scipy.stats.poisson has wrong documentation
 Reporter:  schwarz        |       Owner:  pv         
     Type:  defect         |      Status:  new        
 Priority:  normal         |   Milestone:  Unscheduled
Component:  Documentation  |     Version:  0.9.0      
 Keywords:                 |  

Comment(by josefpktd):

 I never looked at the docstring example closely, discrete distributions
 need an adjusted example


 besides using pdf instead of using pmf, it also uses linspace instead of
 arange for the plot (only integers).

 also the plot might look better with vlines or just 'o' than as a line

 also I just saw that skellam is missing in the doc list of discrete

Ticket URL: <http://projects.scipy.org/scipy/ticket/1421#comment:5>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.

More information about the Scipy-tickets mailing list