[Scipy-tickets] [SciPy] #1651: scipy.stats: unclear doc string

SciPy Trac scipy-tickets@scipy....
Thu Apr 26 14:24:27 CDT 2012


#1651: scipy.stats: unclear doc string
-------------------------+--------------------------------------------------
 Reporter:  nicky        |       Owner:  somebody   
     Type:  defect       |      Status:  new        
 Priority:  low          |   Milestone:  Unscheduled
Component:  scipy.stats  |     Version:  0.10.0     
 Keywords:               |  
-------------------------+--------------------------------------------------
 The doc string

 >>> x = np.linspace(0, np.minimum(rv.dist.b, 3))

 (see the line
 https://github.com/scipy/scipy/blob/master/scipy/stats/distributions.py#L227)

 is not particularly revealing for ordinary users. The meaning of the
 attribute dist.b is not explained, hence it is not clear the dist.b should
 refer to (some sort of) right limit of the support of the distribution
 related to rv.

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


More information about the Scipy-tickets mailing list