code: def test_background_gradient_gmap_array_raises(gmap, axis):
      # test when gmap as converted ndarray is bad shape
      df = DataFrame([[0, 0, 0], [0, 0, 0]])
      msg = "supplied 'gmap' is not correct shape"
      with pytest.raises(ValueError, match=msg):
          df.style.background_gradient(gmap=gmap, axis=axis)._compute()
  
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 13 for calling a global function with example usage: test_background_gradient_gmap_array_raises(gmap, axis) without return types