code: def test_hdr_threshold(close_figures):
      try:
          _, hdr = hdrboxplot(
              data, alpha=[0.8], threshold=0.93, seed=12345
          )
          labels_pos = np.all(
              np.isin(data, hdr.outliers).reshape(data.shape), axis=1
          )
          outliers = labels[labels_pos]
          assert_equal([1968, 1982, 1983, 1997, 1998], outliers)
      except OSError:
          pytest.xfail(
              "Multiprocess randomly crashes in Windows testing"
          )
  
file_path: statsmodels/statsmodels/graphics/tests/test_functional.py
imports: import numpy
  from numpy.testing import assert_almost_equal, assert_equal
  import pytest
  from statsmodels.datasets import elnino
  from statsmodels.graphics.functional import banddepth, fboxplot, hdrboxplot, rainbowplot
label_desc: Use image node_id 6 for calling a global function with example usage: test_hdr_threshold(close_figures) without return types