enthought / enthought/chaco

LineInspector should inherit from AbstractOverlay

Open
#72 0 comments 0 reactions 1 assignee Claimed by @rkern View on GitHub
Dominant language
Python
Stars
305
Forks
97
PR merge metrics
No merged PRs in 30d

Description

Even thought it is an overlay, LineInspector doesn't inherit from AbstractOverlay.
TraitsTool rightly assumes that it does, so double-clicking a plot with a LineInspector overlay causes a traceback because of missing is_in() and invisible_layout attributes.

The workaround is to do this yourself:

```
class LineInspectorTool(LineInspector, AbstractOverlay):
pass
```

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.