code: def test_plot_anat_kwargs():
      data = np.zeros((20, 20, 20))
      data[3:-3, 3:-3, 3:-3] = 1
      kwargs = {"interpolation": "nearest"}
      with patch(
          "nipy.labs.viz_tools.activation_maps._plot_anat"
      ) as mock_plot_anat:
          ortho_slicer = plot_anat(data, mni_sform, dim=True, **kwargs)
          kwargs_passed = mock_plot_anat.call_args[-1]
          assert "interpolation" in kwargs_passed
          assert kwargs_passed["interpolation"] == "nearest"
  
file_path: nipy/nipy/labs/viz_tools/test/test_activation_maps.py
imports: import tempfile
  import numpy
  import pytest
  from unittest.mock import patch
  from ..activation_maps import demo_plot_map, plot_anat, plot_map
  from ..anat_cache import _AnatCache, mni_sform
label_desc: Use image node_id 3 for calling a global function with example usage: test_plot_anat_kwargs() without return types