Skip to content

Commit b3a31d5

Browse files
committed
removed typo by replacing obseve() with observe(), fixing issue #914
1 parent 5101e34 commit b3a31d5

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)