code: def test_rugplot(self):
      df = self.iris
  
      ax = df.sns.rugplot()
      self.assertIsInstance(ax, matplotlib.axes.Axes)
      # rugplot does not add label
  
      # pass scalar (str)
      ax = df.sns.rugplot(df.columns[1])
      self.assertIsInstance(ax, matplotlib.axes.Axes)
  
      # pass Series
      ax = df.sns.rugplot(df[df.columns[2]])
      self.assertIsInstance(ax, matplotlib.axes.Axes)
  
imports: import pytest
  import matplotlib
  import numpy
  import sklearn.datasets
  import pandas_ml
  import pandas_ml.util.testing
label_desc: Use image node_id 6 for calling the TestSeabornDistribution obj's underlying member method code with example usage: obj.test_rugplot() without return types