Return *y* formatted as a y-value. This function will use the `!fmt_ydata` attribute if it is not None, else will fall back on the yaxis major formatter.
(self, y)
| 4244 | else self.xaxis.get_major_formatter().format_data_short)(x) |
| 4245 | |
| 4246 | def format_ydata(self, y): |
| 4247 | """ |
| 4248 | Return *y* formatted as a y-value. |
| 4249 | |
| 4250 | This function will use the `!fmt_ydata` attribute if it is not None, |
| 4251 | else will fall back on the yaxis major formatter. |
| 4252 | """ |
| 4253 | return (self.fmt_ydata if self.fmt_ydata is not None |
| 4254 | else self.yaxis.get_major_formatter().format_data_short)(y) |
| 4255 | |
| 4256 | def format_coord(self, x, y): |
| 4257 | """Return a format string formatting the *x*, *y* coordinates.""" |