Skip to main content

viz.show_rgb

viz.show_rgb(
    arr,
    descs,
    title,
    r_band='B04',
    g_band='B03',
    b_band='B02',
    stretch_lo=2,
    stretch_hi=98,
    figsize=(7, 7),
)

True-colour-ish RGB composite from named bands.

Looks up r_band, g_band, b_band in descs, builds the joint-percentile stretch (see :func:joint_rgb), and renders the result with a one-line title that names the band assignment.

Silently returns if any of the three bands is missing – a common case when the user fetched only a partial band list.