class_docstr: Create plots for `PDPIsolate`
  
  Methods
  -------
  plot : generate the plot
  plot_matplotlib : plot using matplotlib
  plot_plotly : plot using plotly
class_docstr_tok: ["Create","plots","for","`","PDPIsolate","`","Methods","--","--","--","-","plot",":","generate","the","plot","plot_matplotlib",":","plot","using","matplotlib","plot_plotly",":","plot","using","plotly"]
code: def _pdp_line_plot(
      self, class_idx, colors, axes=None, fig=None, grids=None
  ):
      cmap, light_color, dark_color = colors
      x, pdp, line_data, line_std = self._prepare_pdp_line_data(
          class_idx
      )
      ice_line_traces = (
          self._ice_line_plot(x, line_data, cmap, axes)
          if self.plot_style.plot_lines
          else []
      )
  
      std_params = {
          "x": x,
          "pdp": pdp,
          "std": line_std,
          "colors": (light_color, dark_color),
      }
  
      ylabel = "centered" if self.plot_style.center else "raw"
      if self.plot_style.engine == "matplotlib":
          self._pdp_std_plot(axes=axes, **std_params)
          axes.set_ylabel(
              ylabel, fontdict=self.plot_style.label["fontdict"]
          )
      else:
          std_traces = self._pdp_std_plot_plotly(**std_params)
          for trace in ice_line_traces + std_traces:
              if trace is not None:
                  fig.add_trace(trace, **grids)
          fig.update_yaxes(title_text=ylabel, **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 9 for calling the PDPIsolatePlotEngine obj's underlying member method code with example usage: obj._pdp_line_plot(class_idx, colors, axes, fig, grids) without return types