Return the tick label strings for all *values*. This is the public API for generating tick labels. It calls ``set_locs`` to configure context-dependent formatting state before delegating to ``__call__`` for each individual value. The output may contain mat
(self, values)
| 237 | raise NotImplementedError('Derived must override') |
| 238 | |
| 239 | def format_ticks(self, values): |
| 240 | """ |
| 241 | Return the tick label strings for all *values*. |
| 242 | |
| 243 | This is the public API for generating tick labels. It calls |
| 244 | ``set_locs`` to configure context-dependent formatting state before |
| 245 | delegating to ``__call__`` for each individual value. |
| 246 | |
| 247 | The output may contain mathtext or LaTeX markup. |
| 248 | |
| 249 | Use this method (rather than ``__call__``) whenever formatting a |
| 250 | complete set of tick values, so that formatters which need to see |
| 251 | all tick locations (e.g. to determine precision, offsets, or which |
| 252 | date components to display) can work correctly. |
| 253 | """ |
| 254 | self.set_locs(values) |
| 255 | return [self(value, i) for i, value in enumerate(values)] |
| 256 | |
| 257 | def format_data(self, value): |
| 258 | """ |