def METHOD_NAME(angle: float) -> PGSymmetry:
    """
    Returns a 2D rotation by `angle` degrees.
    Args:
       angle: the angle of rotation in degrees.
    """
    angle = np.radians(angle)
    return PGSymmetry(
        np.asarray([[np.cos(angle), -np.sin(angle)], [np.sin(angle), np.cos(angle)]])
    )