Format the tick as a percentage with the appropriate scaling.
(self, x, pos=None)
| 1637 | self._is_latex = is_latex |
| 1638 | |
| 1639 | def __call__(self, x, pos=None): |
| 1640 | """Format the tick as a percentage with the appropriate scaling.""" |
| 1641 | ax_min, ax_max = self.axis.get_view_interval() |
| 1642 | display_range = abs(ax_max - ax_min) |
| 1643 | return self.fix_minus(self.format_pct(x, display_range)) |
| 1644 | |
| 1645 | def format_pct(self, x, display_range): |
| 1646 | """ |
nothing calls this directly
no test coverage detected