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_categorical_response(self, food_choice, covariates):
      model, idata = food_choice
      plot_predictions(model, idata, covariates)
  
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 11 for calling the TestPredictions obj's underlying member method code with example usage: obj.test_categorical_response(food_choice, covariates) without return types