def METHOD_NAME(self, max_dss=None, clear=False):
    if max_dss is None:
        max_dss = self._max_datasets_to_display
    if self._state.count < max_dss:
        self._update_footprints()
    elif clear:
        self._clear_footprints()