code: def test_get_colorbar_and_data_ranges_masked(
      data_masked, vmin, vmax, symmetric_cbar, expected_results
  ):
      """Test for get_colorbar_and_data_ranges with masked data."""
      assert expected_results == get_colorbar_and_data_ranges(
          data_masked,
          vmin=vmin,
          vmax=vmax,
          symmetric_cbar=symmetric_cbar,
      )
  
file_path: nilearn/nilearn/plotting/tests/test_img_plotting/test_get_colorbar_and_data_ranges.py
imports: import numpy
  import pytest
  from nilearn.plotting.img_plotting import get_colorbar_and_data_ranges
label_desc: Use image node_id 10 for calling a global function with example usage: test_get_colorbar_and_data_ranges_masked(data_masked, vmin, vmax, symmetric_cbar, expected_results) without return types