Return *x* formatted as an x-value. This function will use the `!fmt_xdata` attribute if it is not None, else will fall back on the xaxis major formatter.
(self, x)
| 4234 | yaxis_date = _axis_method_wrapper("yaxis", "axis_date") |
| 4235 | |
| 4236 | def format_xdata(self, x): |
| 4237 | """ |
| 4238 | Return *x* formatted as an x-value. |
| 4239 | |
| 4240 | This function will use the `!fmt_xdata` attribute if it is not None, |
| 4241 | else will fall back on the xaxis major formatter. |
| 4242 | """ |
| 4243 | return (self.fmt_xdata if self.fmt_xdata is not None |
| 4244 | else self.xaxis.get_major_formatter().format_data_short)(x) |
| 4245 | |
| 4246 | def format_ydata(self, y): |
| 4247 | """ |