class_docstr: Plotter for numeric independent variables with regression model.
  
  This does the computations and drawing for the `regplot` function, and
  is thus also used indirectly by `lmplot`.
class_docstr_tok: ["Plotter","for","numeric","independent","variables","with","regression","model",".","This","does","the","computations","and","drawing","for","the","`","regplot","`","function",",","and","is","thus","also","used","indirectly","by","`","lmplot","`","."]
docstr: Regress b from a keeping a's original mean.
docstr_tok: ["Regress","b","from","a","keeping","a","'s","original","mean","."]
code: def regress_out(self, a, b):
      """Regress b from a keeping a's original mean."""
      a_mean = a.mean()
      a = a - a_mean
      b = b - b.mean()
      b = np.c_[b]
      a_prime = a - b.dot(np.linalg.pinv(b).dot(a))
      return np.asarray(a_prime + a_mean).reshape(a.shape)
  
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 12 for calling the _RegressionPlotter obj's underlying member method code with example usage: obj.regress_out(a, b) and returns: np