v2.0.1
imgviz v2.0.1 fixes an IndexError in label2rgb when the label image contains only unlabeled pixels (-1).
Released on 2026-05-12.
Bug fixes
label2rgbcrash on all-unlabeled input:label2rgbno longer raisesIndexErrorwhen every pixel is-1. (#122)
Install
pip install -U imgviz==2.0.1
# or
uv pip install imgviz==2.0.1Full changelog: v2.0.0...v2.0.1