code: def grid(
      lon_edges,
      lat_edges,
      values,
      cmap,
      alpha=255,
      vmin=None,
      vmax=None,
      levels=10,
      colormap_scale="lin",
      show_colorbar=True,
  ):
      """
      Values on a uniform grid
  
      :param lon_edges: longitude edges
      :param lat_edges: latitude edges
      :param values: matrix representing values on the grid
      :param cmap: colormap name
      :param alpha: color alpha
      :param vmin: minimum value for the colormap
      :param vmax: maximum value for the colormap
      :param levels: number of levels for the colormap
      :param colormap_scale: colormap scale
      :param show_colorbar: show the colorbar in the UI
      """
      from geoplotlib.layers import GridLayer
  
      _global_config.layers.append(
          GridLayer(
              lon_edges,
              lat_edges,
              values,
              cmap,
              alpha,
              vmin,
              vmax,
              levels,
              colormap_scale,
              show_colorbar,
          )
      )
  
imports: import base64
  import traceback
  import pyglet
  from geoplotlib.core import GeoplotlibApp
  from core import FONT_NAME
label_desc: Use image node_id 17 for calling a global function with example usage: grid(lon_edges, lat_edges, values, cmap, alpha, vmin, vmax, levels, colormap_scale, show_colorbar) without return types