scikit-image/scikit-image — pull request #881 by blink1073 (2014-02-09 04:16:48+00:00)
Title: Fix: Viewer: LabelPainter overlay does not update with new loaded image #609

Fixes #609 by making `shape` a property of the `painttool` and changing the shape when the image changes using the `_on_new_image` method of `Plugin`. The overlay will now reset and resize properly when the background image changes.