def close(self, info, is_ok): # would be nice to close the profile plot # but easier said than done # tip: info.ui.dispose() return Handler.close(self, info, is_ok)