code: def data_pos_neg():
      """Fixture for data with both positive and negative values."""
      # min: -0.5, max: 3.0
      return np.array(
          [[-0.5, 1.0, np.nan], [0.0, np.nan, -0.2], [1.5, 2.5, 3.0]]
      )
  
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 1 for calling a global function with example usage: data_pos_neg() and returns: np