code: def gradient_bar(ax, x, y, width=0.5, bottom=0):
      for left, top in zip(x, y):
          right = left + width
          gradient_image(
              ax,
              extent=(left, right, bottom, top),
              cmap=plt.cm.Blues_r,
              cmap_range=(0, 0.8),
          )
  
imports: import matplotlib.pyplot
  import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: gradient_bar(ax, x, y, width, bottom) without return types