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 __init__(
      self,
      plot_obj,
      which_classes,
      plot_params,
  ):
      self.which_classes = which_classes
      self.plot_obj = plot_obj
      feature_infos = [
          obj.feature_info for obj in self.plot_obj.pdp_isolate_objs
      ]
      self.display_columns = [
          info.display_columns for info in feature_infos
      ]
      self.percentile_columns = [
          info.percentile_columns for info in feature_infos
      ]
  
      self.grids = []
      for info in feature_infos:
          if info.type == "onehot":
              self.grids.append(info.grids)
          else:
              self.grids.append([_get_string(v) for v in info.grids])
  
      self.percentiles = [info.percentiles for info in feature_infos]
      self.feat_grids = [info.grids for info in feature_infos]
      self.feat_types = [info.type for info in feature_infos]
      self.feat_names = [info.name for info in feature_infos]
      self.plot_style = _prepare_plot_style(
          self.feat_names,
          len(which_classes),
          plot_params,
          plot_obj.plot_type,
      )
      self.cmaps = cycle(self.plot_style.interact["cmaps"])
  
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 1 to create a new PDPInteractPlotEngine object  with example: obj = PDPInteractPlotEngine(plot_obj, which_classes, plot_params)