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

Typo in base_2d_plot.py #914

Open
markasbach opened this issue Jun 20, 2024 · 0 comments
Open

Typo in base_2d_plot.py #914

markasbach opened this issue Jun 20, 2024 · 0 comments

Comments

@markasbach
Copy link

Problem Description

Introduced with Pull Request #590, there are two typos in the Chaco source code for base_2d_plot.py, where was accidentally replaced with obseve() instead of observe():

https://github.com/enthought/chaco/pull/590/files#diff-a35ae3f2ef1d62bd589db77c070fd771be90934c6d4025589545b66c1bc5a3e6

Affected lines are still in the current release of Chaco (6.0.0):

old.obseve(self._update_index_data, "data_changed", remove=True)

Despite this place, there seem to be no other identical typos: https://github.com/search?q=repo%3Aenthought%2Fchaco%20obseve&type=code

        if old is not None:
            old.obseve(self._update_index_data, "data_changed", remove=True)
        if new is not None:
            new.obseve(self._update_index_data, "data_changed")

OS, Python version: [Enter OS name and Python version]

Independent of Python or OS.

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

No branches or pull requests

1 participant