code: def _draw_tiles(ax, grid_points, facecolors, tile_alpha, h, w):
      boxes = []
      for i, (v1, v2) in enumerate(grid_points):
          # center a box over (v1,v2) grid location
          rect = patches.Rectangle(
              (v1 - w / 2, v2 - h / 2),
              w,
              h,
              angle=0.0,
              linewidth=0,
              facecolor=facecolors[i],
              alpha=tile_alpha,
          )
          boxes.append(rect)
      # Adding collection is MUCH faster than repeated add_patch()
      ax.add_collection(PatchCollection(boxes, match_original=True))
  
file_path: dtreeviz/dtreeviz/classifiers.py
imports: from typing import Tuple
  import matplotlib.pyplot
  import numpy
  import pandas
  from PIL import ImageColor
  from colour import Color
  from matplotlib import patches
  from matplotlib.collections import PatchCollection
  from dtreeviz import utils
  from dtreeviz.colors import adjust_colors
  from dtreeviz.utils import add_classifier_legend, _format_axes
label_desc: Use image node_id 5 for calling a global function with example usage: _draw_tiles(ax, grid_points, facecolors, tile_alpha, h, w) without return types