Given a list of lists, return a list of the variable column width for each column using the max length. Args: d - list of lists with x columns Returns: list of ints [len_1, len_2...len_x]
(self, d)
| 981 | return [self._mode_len(i) for i in d] |
| 982 | |
| 983 | def _get_column_widths_max(self, d): |
| 984 | """Given a list of lists, return a list of the variable column width |
| 985 | for each column using the max length. |
| 986 | |
| 987 | Args: d - list of lists with x columns |
| 988 | Returns: list of ints [len_1, len_2...len_x] |
| 989 | |
| 990 | """ |
| 991 | d = zip(*d) |
| 992 | return [max(1, min(250, max(set(self._cell_len(j) for j in i)))) |
| 993 | for i in d] |
| 994 | |
| 995 | def _skip_to_value_change(self, x_inc, y_inc): |
| 996 | m = self.consume_modifier() |