(self)
| 2842 | self.subs = subs if len(subs) > 0 else None |
| 2843 | |
| 2844 | def __call__(self): |
| 2845 | vmin, vmax = self.axis.get_view_interval() |
| 2846 | if (vmin * vmax) < 0 and abs(1 + vmax / vmin) < self.symthresh: |
| 2847 | # Data-range appears to be almost symmetric, so round up: |
| 2848 | bound = max(abs(vmin), abs(vmax)) |
| 2849 | return self.tick_values(-bound, bound) |
| 2850 | else: |
| 2851 | return self.tick_values(vmin, vmax) |
| 2852 | |
| 2853 | def tick_values(self, vmin, vmax): |
| 2854 | # Construct a set of uniformly-spaced "on-screen" locations. |
nothing calls this directly
no test coverage detected