class_docstr: Create plots for `PDPInteract`
  
  Methods
  -------
  plot : generate the plot
  plot_matplotlib : plot using matplotlib
  plot_plotly : plot using plotly
class_docstr_tok: ["Create","plots","for","`","PDPInteract","`","Methods","--","--","--","-","plot",":","generate","the","plot","plot_matplotlib",":","plot","using","matplotlib","plot_plotly",":","plot","using","plotly"]
code: def _pdp_xy_grid_plotly(self, pdp_xy, plot_params, fig, grids):
      grids_x, grids_y = self.feat_grids
      fig.add_trace(
          go.Heatmap(
              x=np.arange(len(grids_x)),
              y=np.arange(len(grids_y)),
              text=np.array(
                  [["{:.3f}".format(v) for v in row] for row in pdp_xy]
              ),
              texttemplate="%{text}",
              **plot_params,
          ),
          **grids,
      )
  
imports: from .utils import _get_string, _to_rgba
  from .styles import _prepare_plot_style, _axes_modify, _display_percentile, _modify_legend_axes, _get_axes_label
  import pandas
  import numpy
  import matplotlib
  import matplotlib.pyplot
  from matplotlib.gridspec import GridSpecFromSubplotSpec
  import copy
  from mpl_toolkits.axes_grid1.inset_locator import inset_axes
  import plotly.graph_objects
  from sklearn.cluster import MiniBatchKMeans, KMeans
  from itertools import cycle
label_desc: Use image node_id 4 for calling the PDPInteractPlotEngine obj's underlying member method code with example usage: obj._pdp_xy_grid_plotly(pdp_xy, plot_params, fig, grids) without return types