enthought / enthought/chaco

Range selection behaviour not consistent with scatter plot expectation. Unable to remove all selections.

Open
#135 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
305
Forks
97
PR merge metrics
No merged PRs in 30d

Description

The RangeSelection tool appends selection masks to a list held in the datasource metadata. When removing the selection, the tool deletes all items in the selection_mask list, however, it remains as an empty list in the datasource metadata.

When rendering selected points, the scatterplot renderer checks for the existence of a metadata field named 'selection_masks' if it exists, it will collect the points to be rendered. Unfortunately, it doesn't handle the case of an empty list which is what is left by the RangeSelection tool.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.