Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove calls to Component._draw_component #737

Merged
merged 1 commit into from
May 18, 2021

Conversation

aaronayres35
Copy link
Contributor

Part of #736 (maybe this is enough to close the issue? We may want to remove all use of _draw_component, even uses that won't break)

These 2 calls actually were calling Component._draw_component living in enable which currently is a no-op:
https://github.com/enthought/enable/blob/21c299e1229d74e9db701487a613934e332a7225/enable/component.py#L344-L350

There are other uses of _draw_component across chaco that can be removed, but they will not cause a break if _draw_component is removed in enable (ref enthought/enable#814), because the method gets overwritten in chaco.

Copy link
Contributor

@rahulporuri rahulporuri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

This isn't enough to close #736 as we also want to remove the "deprecated" comments in the _draw_component once we take a better look at those methods.

@aaronayres35 aaronayres35 merged commit 86ec92e into master May 18, 2021
@aaronayres35 aaronayres35 deleted the remove-_draw_component branch May 18, 2021 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants