enthought / enthought/chaco

Look for places to use new requires_redraw metadata

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

Description

**Problem Description**
In PR #585 we added the `requires_redraw` metadata to specify that if a particular trait changes, `invalidate_and_redraw` should be called. We should sweep the code bases for all possible cases where we could use this, eg for things like:
```
def _sometrait_change(self):
self.invalidate_draw()
self.request_redraw()
```

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.