code: def test_regression_plot(self):
      df = self.diabetes
  
      plots = ["regplot", "residplot"]
  
      for plot in plots:
          func = getattr(df.sns, plot)
  
          ax = func(df.columns[1])
          self.assertIsInstance(ax, matplotlib.axes.Axes)
          self.assertEqual(ax.get_xlabel(), df.columns[1])
          self.assertEqual(ax.get_ylabel(), ".target")
          tm.close()
  
          ax = func(df.columns[1], df.columns[2])
          self.assertIsInstance(ax, matplotlib.axes.Axes)
          self.assertEqual(ax.get_xlabel(), df.columns[1])
          self.assertEqual(ax.get_ylabel(), df.columns[2])
          tm.close()
  
imports: import pytest
  import matplotlib
  import numpy
  import sklearn.datasets
  import pandas_ml
  import pandas_ml.util.testing
label_desc: Use image node_id 2 for calling the TestSeabornRegression obj's underlying member method code with example usage: obj.test_regression_plot() without return types