Return *z* string formatted. This function will use the :attr:`!fmt_zdata` attribute if it is callable, else will fall back on the zaxis major formatter
(self, z)
| 1608 | self.roll = roll |
| 1609 | |
| 1610 | def format_zdata(self, z): |
| 1611 | """ |
| 1612 | Return *z* string formatted. This function will use the |
| 1613 | :attr:`!fmt_zdata` attribute if it is callable, else will fall |
| 1614 | back on the zaxis major formatter |
| 1615 | """ |
| 1616 | try: |
| 1617 | return self.fmt_zdata(z) |
| 1618 | except (AttributeError, TypeError): |
| 1619 | func = self.zaxis.get_major_formatter().format_data_short |
| 1620 | val = func(z) |
| 1621 | return val |
| 1622 | |
| 1623 | def format_coord(self, xv, yv, renderer=None): |
| 1624 | """ |
no test coverage detected