#NEWLINE# def test_scipy_univariate_kde( self ) : #NEWLINE# #INDENT# 'Test the univariate KDE estimation with scipy.' #NEWLINE# ( grid , y ) = dist . _scipy_univariate_kde ( self . x , self . bw , self . gridsize , self . cut , self . clip ) #NEWLINE# nt . assert_equal ( len ( grid ) , self . gridsize ) #NEWLINE# nt . assert_equal ( len ( y ) , self . gridsize ) #NEWLINE# for bw in [ 'silverman' , 0.2 ] : #NEWLINE# #INDENT# dist . _scipy_univariate_kde ( self . x , bw , self . gridsize , self . cut , self . clip )