def METHOD_NAME():
    data = pd.DataFrame(
        {
            "x": np.arange(11),
            "y": [0, 0, 0, 0.05, 0.25, 0.5, 0.75, 0.95, 1, 1, 1],
        }
    )
    p = (
        ggplot(data, aes("x", "y"))
        + geom_point()
        + geom_smooth(
            method="glm",
            method_args={
                "family": sm.families.Binomial(),  # init parameter
                "method": "minimize",  # fit parameter
            },
            se=False,
        )
    )
    assert p == "init_and_fit_kwargs"