Skip to main content

viz.plot_split_layout

viz.plot_split_layout(
    arr,
    descs,
    method,
    splits_dir,
    ax,
    title,
    *,
    band='B04',
    split_colours=None,
    alpha=0.35,
)

Overlay the tile-bucket assignments for method on imagery.

Shows arr’s band as a grayscale base, then draws every tile rectangle from read_tiles_csv(splits_dir, method) with the bucket’s colour from :data:SPLIT_COLOURS. A small legend in the lower-right names the colours that actually appear.

Useful for comparing the four split strategies head-to-head on the same imagery – random / block / stripes look obviously different, and regions occupies its own panel because it spans multiple AOIs.