📜  ipywidgets unobserve functools partial - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:21.306000             🧑  作者: Mango

代码示例1
import ipywidgets as widgets
w = widgets.Text()
w.unobserve(None,...)
            
# still need to pass `names` whenever needed. 
# But at least you don't need to know the exact name of the handler. 
# Specially if you have used a `partial` when setting the observer.