From b3a31d5de5b44e166be00cffd87950c8ded71c5d Mon Sep 17 00:00:00 2001 From: Mark Asbach Date: Thu, 20 Jun 2024 17:45:51 +0200 Subject: [PATCH] removed typo by replacing `obseve()` with `observe()`, fixing issue #914 --- chaco/base_2d_plot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chaco/base_2d_plot.py b/chaco/base_2d_plot.py index abbc9753d..110e35df3 100644 --- a/chaco/base_2d_plot.py +++ b/chaco/base_2d_plot.py @@ -340,9 +340,9 @@ def _origin_changed(self): def _index_changed(self, old, new): if old is not None: - old.obseve(self._update_index_data, "data_changed", remove=True) + old.observe(self._update_index_data, "data_changed", remove=True) if new is not None: - new.obseve(self._update_index_data, "data_changed") + new.observe(self._update_index_data, "data_changed") self._update_index_data() def _value_changed(self, old, new):