#NEWLINE# @ skipif ( _no_statsmodels ) #NEWLINE# def test_statsmodels_bivariate_kde( self ) : #NEWLINE# #INDENT# 'Test the bivariate KDE estimation with statsmodels.' #NEWLINE# clip = [ self . clip , self . clip ] #NEWLINE# ( x , y , z ) = dist . _statsmodels_bivariate_kde ( self . x , self . y , self . bw , self . gridsize , self . cut , clip ) #NEWLINE# nt . assert_equal ( x . shape , ( self . gridsize , self . gridsize ) ) #NEWLINE# nt . assert_equal ( y . shape , ( self . gridsize , x . gridsize ) ) #NEWLINE# nt . assert_equal ( len ( z ) , self . gridsize )