viz.tile_grid_overlay
viz.tile_grid_overlay(
arr,
descs,
tile_size,
stride,
ax,
title,
*,
band='B04',
palette=TILE_GRID_PALETTE,
)Overlay the tile grid on a base image, on the matplotlib ax.
Picks band from descs to serve as the base image (falls back to band 0 if band is not present), percentile-stretches it for display, then walks the (tile_size, stride) grid and draws one coloured rectangle per tile. The 4-colour palette ensures that overlapping tiles never share a colour with their immediate neighbour, so the overlap pattern is unmistakable.
Use a second axis with stride < tile_size to demonstrate sliding-window overlap; the original inline-notebook call rendered a non-overlap panel and a 75 %-overlap panel side by side.