code: def regplot(
      data=None,
      *,
      x=None,
      y=None,
      x_estimator=None,
      x_bins=None,
      x_ci="ci",
      scatter=True,
      fit_reg=True,
      ci=95,
      n_boot=1000,
      units=None,
      seed=None,
      order=1,
      logistic=False,
      lowess=False,
      robust=False,
      logx=False,
      x_partial=None,
      y_partial=None,
      truncate=True,
      dropna=True,
      x_jitter=None,
      y_jitter=None,
      label=None,
      color=None,
      marker="o",
      scatter_kws=None,
      line_kws=None,
      ax=None,
  ):
      plotter = _RegressionPlotter(
          x,
          y,
          data,
          x_estimator,
          x_bins,
          x_ci,
          scatter,
          fit_reg,
          ci,
          n_boot,
          units,
          seed,
          order,
          logistic,
          lowess,
          robust,
          logx,
          x_partial,
          y_partial,
          truncate,
          dropna,
          x_jitter,
          y_jitter,
          color,
          label,
      )
  
      if ax is None:
          ax = plt.gca()
  
      scatter_kws = (
          {} if scatter_kws is None else copy.copy(scatter_kws)
      )
      scatter_kws["marker"] = marker
      line_kws = {} if line_kws is None else copy.copy(line_kws)
      plotter.plot(ax, scatter_kws, line_kws)
      return ax
  
imports: import copy
  from textwrap import dedent
  import warnings
  import numpy
  import pandas
  import matplotlib
  import matplotlib.pyplot
  from .None import utils
  from .None import algorithms
  from .axisgrid import FacetGrid, _facet_docs
label_desc: Use image node_id 2 for calling a global function with example usage: regplot(data) and returns: ax