code: def test_background_gradient_gmap_array(
      styler_blank, axis, gmap, expected
  ):
      # tests when gmap is given as a sequence and converted to ndarray
      result = (
          styler_blank.background_gradient(axis=axis, gmap=gmap)
          ._compute()
          .ctx
      )
      assert result == expected
  
imports: import gc
  import numpy
  import pytest
  from pandas import DataFrame, IndexSlice, Series
  import matplotlib
  from pandas.io.formats.style import Styler
label_desc: Use image node_id 12 for calling a global function with example usage: test_background_gradient_gmap_array(styler_blank, axis, gmap, expected) without return types