code: def add_filter(self, component, filter_group="pyxley-filter"):
          
          if getattr(component, "name") != "Filter":
              raise Exception("Component is not an instance of Filter")
          if filter_group not in self.filters:
              self.filters[filter_group] = []
          self.filters[filter_group].append(component)
docs: Add a filter to the layout.