code: def test_histogram(params, arr_desired):
      arr_actual = histogram(**params)
      np.testing.assert_allclose(
          arr_actual, arr_desired, atol=1e-5, rtol=0.0
      )
  
file_path: pyts/pyts/classification/tests/test_tsbf.py
imports: import numpy
  import pytest
  import re
  from pyts.classification import TSBF
  from pyts.classification.tsbf import IntervalFeatureExtractor
  from pyts.classification.tsbf import extract_features, histogram
  from sklearn.tree import DecisionTreeClassifier
label_desc: Use image node_id 4 for calling a global function with example usage: test_histogram(params, arr_desired) without return types