def _find_max_cell_dimensions(self):
self._max_cell_heights = {}<EOL>self._max_cell_widths = {}<EOL>for i,j in self._min_cell_rects:<EOL><INDENT>self._max_cell_heights[i] = max(<EOL>self._min_cell_rects[i,j].height,<EOL>self._max_cell_heights.get(i, -math.inf))<EOL>self._max_cell_widths[j] = max(<EOL>self._min_cell_rects[i,j].width,<EOL>self._max_cell_widths.get(j, -math.inf))<EOL><DEDENT>
Find the tallest and widest cell in each dimension.