optuna.visualization.plot_slice(
    study,
    params=["x", "y"],
    target=lambda t: t.values[0],