Suppose, I create a few nested widgets using ipywidgets, when I close the parent, an instance of ipywidgets.Box (using parent.close() call, I see that
ipywidgets.Box
parent.close()