code: def test_plot_glass_brain_display_modes_without_img(display_mode):
      """Smoke test for work around from PR #1888."""
      plot_glass_brain(None, display_mode=display_mode)
      plt.close()
  
file_path: nilearn/nilearn/plotting/tests/test_img_plotting/test_plot_glass_brain.py
imports: import matplotlib.pyplot
  import numpy
  import pytest
  from nibabel import Nifti1Image
  from nilearn.image import get_data
  from nilearn.plotting import plot_glass_brain
label_desc: Use image node_id 6 for calling a global function with example usage: test_plot_glass_brain_display_modes_without_img(display_mode) without return types