def on_ui_close(self):
        self.p_actor.visibility = 0
        self.renwin.renderer.remove_actor(self.p_actor)
        self.ui = None

    #################################################################
    # Non-public interface.
    #################################################################
This method makes the picker actor invisible when the GUI
dataset/ETHPy150Open enthought/mayavi/tvtk/pyface/picker.py/Picker.on_ui_close