[Scipy-tickets] [SciPy] #1256: stats.mstats.plotting_positions integer division

SciPy Trac scipy-tickets@scipy....
Sat Aug 7 19:33:56 CDT 2010


#1256: stats.mstats.plotting_positions integer division
-----------------------+----------------------------------------------------
 Reporter:  josefpktd  |       Owner:  somebody
     Type:  defect     |      Status:  new     
 Priority:  normal     |   Milestone:  0.9.0   
Component:  Other      |     Version:  0.7.0   
 Keywords:             |  
-----------------------+----------------------------------------------------
 stats.mstats.plotting_positions does not convert integers to floats in the
 division


 {{{
 >>> stats.mstats.plotting_positions(np.arange(10), 0,0)
 masked_array(data = [ 0.  0.  0.  0.  0.  0.  0.  0.  0.  0.],
              mask = False,
        fill_value = 1e+020)

 >>> stats.mstats.plotting_positions(np.arange(10), 0.,0.)
 masked_array(data = [ 0.09090909  0.18181818  0.27272727  0.36363636
 0.45454545  0.54545455
   0.63636364  0.72727273  0.81818182  0.90909091],
              mask = False,
        fill_value = 1e+020)
 }}}

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


More information about the Scipy-tickets mailing list