Skip to content

Commit 094abc1

Browse files
markasbachitziakos
andauthored
removed typo by replacing obseve() with observe(), fixing issue #914 (#915)
As this fixes a typo clearly visible in the source code, I have not added any code to reproduce the error nor a unit test. Hope this is still fine (I'm short on time currently, sorry!). See [Issue 914](#914) and/or the original pull request #590 that introduced this bug. Co-authored-by: Ioannis Tziakos <[email protected]>
1 parent 15eb71e commit 094abc1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chaco/base_2d_plot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,9 +340,9 @@ def _origin_changed(self):
340340

341341
def _index_changed(self, old, new):
342342
if old is not None:
343-
old.obseve(self._update_index_data, "data_changed", remove=True)
343+
old.observe(self._update_index_data, "data_changed", remove=True)
344344
if new is not None:
345-
new.obseve(self._update_index_data, "data_changed")
345+
new.observe(self._update_index_data, "data_changed")
346346
self._update_index_data()
347347

348348
def _value_changed(self, old, new):

0 commit comments

Comments
 (0)