docstr: Regression test for #1181.
docstr_tok: ["Regression","test","for","#","1181","."]
code: def test_kde_integer_input(self):
      """Regression test for #1181."""
      x1 = np.arange(5)
      kde = mlab.GaussianKDE(x1)
      y_expected = [
          0.13480721,
          0.18222869,
          0.19514935,
          0.18222869,
          0.13480721,
      ]
      np.testing.assert_array_almost_equal(
          kde(x1), y_expected, decimal=6
      )
  
imports: from numpy.testing import assert_allclose, assert_almost_equal, assert_array_equal, assert_array_almost_equal_nulp
  import numpy
  import pytest
  from matplotlib import mlab
label_desc: Use image node_id 1 for calling the TestGaussianKDE obj's underlying member method code with example usage: obj.test_kde_integer_input() without return types