code: def test_horizon_wrong_dtype_images():
      affine = np.array(
          [
              [1.0, 0.0, 0.0, -98.0],
              [0.0, 1.0, 0.0, -134.0],
              [0.0, 0.0, 1.0, -72.0],
              [0.0, 0.0, 0.0, 1.0],
          ]
      )
  
      data = np.random.rand(197, 233, 189).astype(np.bool_)
      images = [(data, affine)]
      with warnings.catch_warnings(record=True) as l_warns:
          horizon(images=images, interactive=False)
          check_for_warnings(
              l_warns,
              "skipping image 1, passed image is not in "
              + "numerical format",
          )
  
file_path: dipy/dipy/viz/tests/test_apps.py
imports: import os
  import warnings
  import numpy
  import numpy.testing
  import pytest
  from dipy.data import DATA_DIR
  from dipy.io.stateful_tractogram import Space, StatefulTractogram
  from dipy.io.utils import create_nifti_header
  from dipy.testing import check_for_warnings
  from dipy.testing.decorators import use_xvfb
  from dipy.tracking.streamline import Streamlines
  from dipy.utils.optpkg import optional_package
  from dipy.testing.decorators import set_random_number_generator
label_desc: Use image node_id 3 for calling a global function with example usage: test_horizon_wrong_dtype_images() without return types