def remove_hud(self, hud_name=None):
        if hud_name and pm.headsUpDisplay(hud_name, q=1, ex=1):
            pm.headsUpDisplay(hud_name, rem=1)
removes the HUD
dataset/ETHPy150Open eoyilmaz/anima/anima/env/mayaEnv/auxiliary.py/Playblaster.remove_hud