“cmd.hide” turns of atom and bond representations.
cmd.hide(string representation, string selection)
def hide(representation="", selection=""):
hide | api