code: def test_plot_partial_dependence(self):
      df = pdml.ModelFrame(datasets.load_iris())
      clf = df.ensemble.GradientBoostingRegressor(n_estimators=10)
      df.fit(clf)
      """
          # ToDo: Check how to perform plotting test on travis, locally passed.
          fig, axes = df.ensemble.partial_dependence.plot_partial_dependence(clf, [0, (0, 1)])
  
          import matplotlib
          self.assertIsInstance(fig, matplotlib.figure.Figure)
          self.assertTrue(len(axes), 2)
          self.assertIsInstance(axes[0], matplotlib.axes.Axes)
          """
  
file_path: pandas-ml/pandas_ml/skaccessors/test/test_ensemble.py
imports: import pytest
  import sklearn.datasets
  import sklearn.ensemble
  import sklearn.metrics
  import pandas_ml
  import pandas_ml.util.testing
label_desc: Use image node_id 5 for calling the TestEnsemble obj's underlying member method code with example usage: obj.test_plot_partial_dependence() without return types