def customized_warning(message, category=UserWarning,
                       filename='', lineno=-1, file=None, line=None):
    """
    Customized function to display warnings.
    Monkey patch for `warnings.showwarning`.
    """
    print("WARNING: {0}".format(message))