code: def fit_geometry(self, X=None, input_type='data'):
          
          if self.geom is None:
              self.geom_ = Geometry()
          elif isinstance(self.geom, Geometry):
              self.geom_ = self.geom
          else:
              try:
                  kwds = dict(**self.geom)
              except TypeError:
                  raise ValueError("geom must be a Geometry instance or "
                                   "a mappable/dictionary")
              self.geom_ = Geometry(**kwds)
  
          if self.radius is not None:
              self.geom_.set_radius(self.radius, override=False)
  
          # if self.radius == 'auto':
          #     if X is not None and input_type != 'affinity':
          #         self.geom_.set_radius(self.estimate_radius(X, input_type),
          #                               override=False)
          # else:
          #     self.geom_.set_radius(self.radius,
          #                           override=False)
  
          if X is not None:
              self.geom_.set_matrix(X, input_type)
  
          return self
docs: Inputs self.geom, and produces the fitted geometry self.geom_