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 prepare_axes(self, inner_grid):
      if self.plot_style.plot_pts_dist:
          inner = GridSpecFromSubplotSpec(
              2,
              1,
              subplot_spec=inner_grid,
              wspace=self.plot_style.gaps["inner_x"],
              hspace=self.plot_style.gaps["inner_y"],
              height_ratios=self.plot_style.subplot_ratio["y"],
          )
          line_axes = plt.subplot(inner[0])
          dist_axes = plt.subplot(inner[1])
      else:
          line_axes = plt.subplot(inner_grid)
          dist_axes = None
  
      return line_axes, dist_axes
  
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 19 for calling the PDPIsolatePlotEngine obj's underlying member method code with example usage: obj.prepare_axes(inner_grid) and returns: line_axes,  dist_axes