class_docstr: Tests the 'plot_predictions' function for different combinations of main, group,
  and panel variables.
class_docstr_tok: ["Tests","the","'plot_predictions","'","function","for","different","combinations","of","main",",","group",",","and","panel","variables","."]
code: def test_subplot_kwargs(self, mtcars, pps):
      model, idata = mtcars
      plot_predictions(
          model,
          idata,
          ["hp", "drat"],
          pps=pps,
          subplot_kwargs={
              "main": "hp",
              "group": "drat",
              "panel": "drat",
          },
      )
  
imports: from os.path import dirname, join
  import numpy
  import pandas
  import matplotlib.pyplot
  import pytest
  import bambi
  from bambi.interpret import plot_comparisons, plot_predictions, plot_slopes
label_desc: Use image node_id 7 for calling the TestPredictions obj's underlying member method code with example usage: obj.test_subplot_kwargs(mtcars, pps) without return types