def METHOD_NAME(self):
    cell_widths = defaultdict(int)
    for key in self.keys:
        element = self._get_frame(key)
        if element is None:
            continue
        self._update_cell_widths(element, cell_widths)
    return cell_widths