code: def test_2d_numpy_features():
      X_numpy = X.to_numpy()
      assert isinstance(X_numpy, np.ndarray)
      Rank2D(features=features, figsize=(12, 12)).feature_ranks(X_numpy)
  
imports: import matplotlib.pyplot
  import pytest
  import pandas
  import numpy
  from sklearn.datasets import load_iris
  from matplotlib.testing.decorators import image_comparison
  from sklearn_evaluation.plot import Rank1D, Rank2D
label_desc: Use image node_id 22 for calling a global function with example usage: test_2d_numpy_features() without return types