code: def test_plot_carpet_default_params(
      img_4d_mni, img_3d_ones_mni, tmp_path
  ):
      """Smoke-test for 4D plot_carpet with default arguments."""
      plot_carpet(
          img_4d_mni,
          mask_img=img_3d_ones_mni,
          output_file=tmp_path / "temp.png",
      )
      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 5 for calling a global function with example usage: test_plot_carpet_default_params(img_4d_mni, img_3d_ones_mni, tmp_path) without return types