code: def test_heatmap_feature_order(explainer):
      """Make sure the heatmap plot is unchanged when we apply a feature ordering."""
      fig = plt.figure()
      shap_values = explainer(explainer.data)
      shap.plots.heatmap(
          shap_values,
          max_display=5,
          feature_order=np.array(range(shap_values.shape[1]))[::-1],
          show=False,
      )
      plt.tight_layout()
      return fig
  
imports: import matplotlib.pyplot
  import numpy
  import pytest
  import shap
label_desc: Use image node_id 2 for calling a global function with example usage: test_heatmap_feature_order(explainer) and returns: fig