code: def render(
      tables: List[alt.Data],
      *,
      names: List[str],
      x_name: str,
      height: int,
      width: int,
      height_minimap: int,
  ):
      zoom = alt.selection_interval(encodings=["x", "y"])
  
      minimaps = None
      for i, t in enumerate(tables):
          z = zoom if i == 0 else None
          minimap = _heatmap(
              t,
              is_ticks=False,
              range_color=TABLEAU_10[i % 10],
              name="",
              x_name="",
              selection=z,
          )
          if minimaps is None:
              minimaps = minimap
          else:
              minimaps += minimap
  
      details = None
      for i, t in enumerate(tables):
          detail = _heatmap(
              t,
              is_ticks=len(tables) == 1,
              name=names[i],
              x_name=x_name,
              range_color=TABLEAU_10[i % 10],
              height=height,
              width=width,
              x_scale=alt.Scale(
                  domain={"selection": zoom.name, "encoding": "x"}
              ),
              y_scale=alt.Scale(
                  domain={"selection": zoom.name, "encoding": "y"}
              ),
              brush=zoom,
          )
          if details is None:
              details = detail
          else:
              details += detail
  
      minimaps = minimaps.properties(
          width=width * height_minimap / height, height=height_minimap
      )
  
      return details & minimaps
  
imports: from typing import List
  import altair
  import numpy
  from labml.internal.analytics.altair.utils import TABLEAU_10
label_desc: Use image node_id 3 for calling a global function with example usage: render(tables) and returns: unknown