Colorbar "remove value/color" cause duplicating the whole scale

Issue #15 resolved
Angus Yeh repo owner created an issue

While customising colorbar, if user had switched Discrete Color mode before (regardless of the current state), clicking "Remove value/color" will cause the scale to be duplicated.

Comments (2)

  1. Angus Yeh reporter

    Fixed in commit 164a9fc by avoiding index == -1, which happens when non entry in table actually selected. Made delete last entry in that case.

  2. Log in to comment