Following on from #9 the label index in the left hand most column of the table should not just be the numeric 0 through number of rows, but instead the actual index of the label, so starting at 1 and possibly dealing with missing values. We have some machinery in the labels layer here that might help - i'm trying to recall now what layer._label_index is https://github.com/napari/napari/blob/dc903d2bde15f104d5c619108fe4897c8d4cbb8d/napari/layers/labels/labels.py#L444, but it might be useful - @jni might remember better then me off the top of his head
Following on from #9 the label index in the left hand most column of the table should not just be the numeric 0 through number of rows, but instead the actual index of the label, so starting at 1 and possibly dealing with missing values. We have some machinery in the labels layer here that might help - i'm trying to recall now what
layer._label_index
is https://github.com/napari/napari/blob/dc903d2bde15f104d5c619108fe4897c8d4cbb8d/napari/layers/labels/labels.py#L444, but it might be useful - @jni might remember better then me off the top of his head