class_docstr: Create plots for `PredictPlot`
  
  Methods
  -------
  plot_matplotlib : plot using matplotlib
  plot_plotly : plot using plotly
class_docstr_tok: ["Create","plots","for","`","PredictPlot","`","Methods","--","--","--","-","plot_matplotlib",":","plot","using","matplotlib","plot_plotly",":","plot","using","plotly"]
code: def prepare_grids(self, i):
      ncols = self.plot_style.ncols
      nc, nr = i % ncols + 1, i // ncols + 1
      box_grids = {"col": nc, "row": nr * 2 - 1}
      bar_grids = {"col": nc, "row": nr * 2}
      return (nc, nr), box_grids, bar_grids
  
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 4 for calling the PredictPlotEngine obj's underlying member method code with example usage: obj.prepare_grids(i) and returns: nc,  nr,  box_grids,  bar_grids