code: def test_plot_markers_saving_to_file(coords, tmp_path):
      """Smoke test for plot_markers and file saving."""
      filename = tmp_path / "test.png"
      display = plot_markers(
          [1, 2, 3, 4], coords, output_file=filename, display_mode="x"
      )
      assert display is None
      assert os.path.isfile(filename) and os.path.getsize(filename) > 0
      plt.close()
  
imports: import os
  import matplotlib.pyplot
  import numpy
  import pytest
  from nilearn.conftest import _rng
  from nilearn.plotting import plot_markers
label_desc: Use image node_id 8 for calling a global function with example usage: test_plot_markers_saving_to_file(coords, tmp_path) without return types