class_docstr: Create plots for `InteractTargetPlot` or `InteractPredictPlot`
  
  Methods
  -------
  plot_matplotlib : plot using matplotlib
  plot_plotly : plot using plotly
class_docstr_tok: ["Create","plots","for","`","InteractTargetPlot","`","or","`","InteractPredictPlot","`","Methods","--","--","--","-","plot_matplotlib",":","plot","using","matplotlib","plot_plotly",":","plot","using","plotly"]
code: def prepare_axes(self, inner_grid):
      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"],
      )
      value_axes = plt.subplot(inner[0])
  
      n = 2 if self.plot_style.ncols > 1 else 4
      legend_grid = GridSpecFromSubplotSpec(
          1, n, subplot_spec=inner[1], wspace=0, width_ratios=[1] * n
      )
      legend_axes = [plt.subplot(legend_grid[j]) for j in range(2)]
  
      return value_axes, legend_axes
  
imports: from .styles import _prepare_plot_style, _axes_modify, _display_percentile, _modify_legend_axes, _get_axes_label
  import numpy
  from itertools import cycle
  import plotly.express
  import matplotlib
  import matplotlib.pyplot
  from matplotlib.gridspec import GridSpecFromSubplotSpec
  from mpl_toolkits.axes_grid1.inset_locator import inset_axes
  import matplotlib.patheffects
  import plotly.graph_objects
label_desc: Use image node_id 13 for calling the InteractInfoPlotEngine obj's underlying member method code with example usage: obj.prepare_axes(inner_grid) and returns: value_axes,  legend_axes