code: def test_plot_asymmetric_colorbar_threshold(
      tmp_path, plot_func, threshold, expected_ticks
  ):
      img_data = np.zeros((10, 10, 10))
      img_data[4:6, 2:4, 4:6] = 5
      img_data[5:7, 3:7, 3:6] = 10
      img = Nifti1Image(img_data, affine=np.eye(4))
      display = plot_func(img, threshold=threshold, colorbar=True)
      plt.savefig(tmp_path / "test.png")
      assert [
          tick.get_text() for tick in display._cbar.ax.get_yticklabels()
      ] == expected_ticks
      plt.close()
  
imports: import matplotlib.pyplot
  import numpy
  import pytest
  from nibabel import Nifti1Image
  from nilearn.conftest import _affine_mni
  from nilearn.datasets import load_mni152_template
  from nilearn.image import get_data, reorder_img
  from nilearn.plotting import plot_anat, plot_carpet, plot_epi, plot_glass_brain, plot_img, plot_prob_atlas, plot_roi, plot_stat_map
  from nilearn.plotting.img_plotting import MNI152TEMPLATE
label_desc: Use image node_id 17 for calling a global function with example usage: test_plot_asymmetric_colorbar_threshold(tmp_path, plot_func, threshold, expected_ticks) without return types