 key value pairs defined in `pd_line_kw` takes priority over
    `line_kw`.

    .. versionadded:: 1.0

contour_kw : dict, default=None
    Dict with keywords passed to the `matplotlib.pyplot.contourf`
    call for two-way partial dependence plots.

bar_kw : dict, default=None
    Dict with keywords passed to the `matplotlib.pyplot.bar`
    call for one-way categorical partial dependence plots.

    .. versionadded:: 1.2

heatmap_kw : dict, default=None
    Dict with keywords passed to the `matplotlib.pyplot.imshow`
    call for two-way categorical partial dependence plots.

    .. versionadded:: 1.2

pdp_lim : dict, default=None
    Global min and max average predictions, such that all plots will have the
    same scale and y limits. `pdp_lim[1]` is the global min and max for single
    partial dependence curves. `pdp_lim[2]` is the global min and max for
    two-way partial dependence curves. If `None` (default), the limit will be
    inferred from the global minimum and maximum of all predictions.

    .. versionadded:: 1.1

centered : bool, default=False
    If `True`, the ICE and PD lines will start at the origin of the
    y-axis. By default, no centering is done.

    .. versionadded:: 1.1

Returns
-------
display : :class:`~sklearn.inspection.PartialDependenceDisplay`
    Returns a :class:`~sklearn.inspection.PartialDependenceDisplay`
    object that contains the partial dependence plots.
