(self, x, vmin, vmax)
| 1133 | """ |
| 1134 | |
| 1135 | def _num_to_string(self, x, vmin, vmax): |
| 1136 | fx = math.log(x) / math.log(self._base) |
| 1137 | if 1 <= abs(fx) <= 10000: |
| 1138 | fd = math.log(vmax - vmin) / math.log(self._base) |
| 1139 | s = self._pprint_val(fx, fd) |
| 1140 | else: |
| 1141 | s = f"{fx:1.0g}" |
| 1142 | return s |
| 1143 | |
| 1144 | |
| 1145 | class LogFormatterMathtext(LogFormatter): |
nothing calls this directly
no test coverage detected