code: def test_bar(explainer, exact_shap_regression_dataset):
      shap = pytest.importorskip("shap")
      shap_values, _ = get_shap_values(
          explainer=explainer,
          dataset=exact_shap_regression_dataset,
          api_type="explanation_object",
      )
  
      shap.plots.bar(shap_values, show=show_plots)
  
file_path: cuml/python/cuml/tests/explainer/test_shap_plotting.py
imports: import pytest
  from cuml import KernelExplainer
  from cuml import LinearRegression
label_desc: Use image node_id 3 for calling a global function with example usage: test_bar(explainer, exact_shap_regression_dataset) without return types