mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-05 01:32:40 +02:00
[tests] failing although the same...
This commit is contained in:
parent
54715e2294
commit
7106c2e8f3
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ class AxisEventController(object):
|
|||
return self
|
||||
def deactivate(self):
|
||||
for cb_class in self.ax.callbacks.callbacks.values():
|
||||
for cb_num in cb_class.keys()[:]:
|
||||
for cb_num in dict(cb_class).keys():
|
||||
self.ax.callbacks.disconnect(cb_num)
|
||||
def activate(self):
|
||||
self.ax.callbacks.connect('xlim_changed', self.xlim_changed)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue