def METHOD_NAME(self, args: list[str]) -> list[str]:
    additional_args = ["--jupyter"]
    # Use webm to support transparency
    if "-t" in args and "--format" not in args:
        additional_args += ["--format", "webm"]
    return additional_args + args[:-1] + [""] + [args[-1]]