code: def plot_color_gradients(cmap_category, cmap_list):
      # Create figure and adjust figure height to number of colormaps
      nrows = len(cmap_list)
      figh = 0.35 + 0.15 + (nrows + (nrows - 1) * 0.1) * 0.22
      fig, axs = plt.subplots(nrows=nrows, figsize=(6.4, figh))
      fig.subplots_adjust(
          top=1 - 0.35 / figh, bottom=0.15 / figh, left=0.2, right=0.99
      )
  
      axs[0].set_title(f"{cmap_category} colormaps", fontsize=14)
  
      for ax, cmap_name in zip(axs, cmap_list):
          ax.imshow(gradient, aspect="auto", cmap=cmap_name)
          ax.text(
              -0.01,
              0.5,
              cmap_name,
              va="center",
              ha="right",
              fontsize=10,
              transform=ax.transAxes,
          )
  
      # Turn off *all* ticks & spines, not just the ones with colormaps.
      for ax in axs:
          ax.set_axis_off()
  
label_desc: Use image node_id 1 for calling a global function with example usage: plot_color_gradients(cmap_category, cmap_list) without return types