def mp_atan2(y, x):
return '<STR_LIT>'.replace(<EOL>'<STR_LIT>', str(math.pi)).replace('<STR_LIT:y>', y).replace('<STR_LIT:x>', x)<EOL>
muparser atan2 function

    Implements an atan2(y,x) function for older muparser versions (<2.1.0);
    atan2 was added as a built-in function in muparser 2.1.0

    Args:
        y (str): y argument of the atan2(y,x) function
        x (str): x argument of the atan2(y,x) function

    Returns:
        A muparser string that calculates atan2(y,x)