def test_scipy_univariate_kde(self):
        grid, y = dist._scipy_univariate_kde(self.x, self.bw, self.gridsize,
                                             self.cut, self.clip)
        nt.assert_equal(len(grid), self.gridsize)
        nt.assert_equal(len(y), self.gridsize)
        for bw in ["silverman", .2]:
            dist._scipy_univariate_kde(self.x, bw, self.gridsize,
                                       self.cut, self.clip)
Test the univariate KDE estimation with scipy.
dataset/ETHPy150Open mwaskom/seaborn/seaborn/tests/test_distributions.py/TestKDE.test_scipy_univariate_kde