code: def test_scotts_bin_width(N=10000, rseed=0):
      np.random.seed(rseed)
      X = np.random.normal(size=N)
      with catch_warnings(AstroMLDeprecationWarning):
          delta = scotts_bin_width(X)
  
      assert_allclose(delta, 3.5 * np.std(X) / N ** (1.0 / 3))
  
file_path: astroML/astroML/density_estimation/tests/test_hist_binwidth.py
imports: import numpy
  from numpy.testing import assert_allclose, assert_
  from astropy.tests.helper import catch_warnings
  from astroML.density_estimation import scotts_bin_width, freedman_bin_width, knuth_bin_width, histogram
  from astroML.utils.exceptions import AstroMLDeprecationWarning
label_desc: Use image node_id 1 for calling a global function with example usage: test_scotts_bin_width(N, rseed) without return types