code: def test_regplot_selective(self):
      f, ax = plt.subplots()
      ax = lm.regplot(x="x", y="y", data=self.df, scatter=False, ax=ax)
      assert len(ax.lines) == 1
      assert len(ax.collections) == 1
      ax.clear()
  
      f, ax = plt.subplots()
      ax = lm.regplot(x="x", y="y", data=self.df, fit_reg=False)
      assert len(ax.lines) == 0
      assert len(ax.collections) == 1
      ax.clear()
  
      f, ax = plt.subplots()
      ax = lm.regplot(x="x", y="y", data=self.df, ci=None)
      assert len(ax.lines) == 1
      assert len(ax.collections) == 1
      ax.clear()
  
imports: import warnings
  import numpy
  import matplotlib
  import matplotlib.pyplot
  import pandas
  import pytest
  import numpy.testing
  import pandas.testing
  from seaborn import regression
  from seaborn.palettes import color_palette
label_desc: Use image node_id 2 for calling the TestRegressionPlots obj's underlying member method code with example usage: obj.test_regplot_selective() without return types