code: def test_plot_prob_atlas(params, affine_eye, rng):
      """Smoke tests for plot_prob_atlas.
  
      Tests different combinations of parameters `view_type`, `threshold`,
      and `colorbar`.
      """
      data_rng = rng.normal(size=(6, 8, 10, 5))
      plot_prob_atlas(Nifti1Image(data_rng, affine_eye), **params)
      plt.close()
  
imports: import matplotlib.pyplot
  import pytest
  from nibabel import Nifti1Image
  from nilearn.plotting import plot_prob_atlas
label_desc: Use image node_id 1 for calling a global function with example usage: test_plot_prob_atlas(params, affine_eye, rng) without return types