code: def test_plot_pi_features_all(exp):
      """Test if all the features are plotted if `features='all'`."""
      axes = plot_permutation_importance(
          exp=exp, features="all"
      ).ravel()
      feature_names = set(exp.data["feature_names"])
  
      for ax in axes:
          yticklabels = set(
              [txt.get_text() for txt in ax.get_yticklabels()]
          )
          assert feature_names == yticklabels
  
imports: import re
  from copy import deepcopy
  import matplotlib.pyplot
  import numpy
  import pytest
  from pytest_lazyfixture import lazy_fixture
  from sklearn.metrics import accuracy_score, f1_score, max_error
  from alibi.api.defaults import DEFAULT_DATA_PERMUTATION_IMPORTANCE, DEFAULT_META_PERMUTATION_IMPORTANCE
  from alibi.api.interfaces import Explanation
  from alibi.explainers import PermutationImportance, plot_permutation_importance
label_desc: Use image node_id 18 for calling a global function with example usage: test_plot_pi_features_all(exp) without return types