code: def test_cmap_is_none_and_resize_is_image(self):
      heatmaps = self.heatmaps
  
      image = np.uint8(
          [[0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]]
      )
      image = np.tile(image[..., np.newaxis], (1, 1, 3))
  
      heatmaps_drawn = heatmaps.draw_on_image(
          image, alpha=0.5, resize="image", cmap=None
      )[0]
      assert heatmaps_drawn.shape == (2, 2, 3)
      assert np.all(heatmaps_drawn[0:2, 0, :] == 0)
      assert np.all(heatmaps_drawn[0:2, 1, :] == 128) or np.all(
          heatmaps_drawn[0:2, 1, :] == 127
      )
  
imports: from __future__ import print_function, division, absolute_import
  import sys
  import numpy
  import six.moves
  import imgaug
label_desc: Use image node_id 3 for calling the TestHeatmapsOnImage_draw_on_image obj's underlying member method code with example usage: obj.test_cmap_is_none_and_resize_is_image() without return types