class_docstr: Tests the plot_comparisons function for different combinations of
  contrast and conditional variables, and user inputs.
class_docstr_tok: ["Tests","the","plot_comparisons","function","for","different","combinations","of","contrast","and","conditional","variables",",","and","user","inputs","."]
code: def test_categorical_response(
      self, food_choice, contrast, conditional
  ):
      model, idata = food_choice
      plot_comparisons(model, idata, contrast, conditional)
  
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 8 for calling the TestComparison obj's underlying member method code with example usage: obj.test_categorical_response(food_choice, contrast, conditional) without return types