def __call__(self):
vmin, vmax = self.axis.get_view_interval()<EOL>vmin, vmax = mtransforms.nonsingular(vmin, vmax, expander = <NUM_LIT>)<EOL>if vmax<vmin:<EOL><INDENT>vmin, vmax = vmax, vmin<EOL><DEDENT>if (vmin, vmax) in self.presets:<EOL><INDENT>return self.presets[(vmin, vmax)]<EOL><DEDENT>if self.numticks is None:<EOL><INDENT>self._set_numticks()<EOL><DEDENT>if self.numticks==<NUM_LIT:0>: return []<EOL>ticklocs = np.linspace(vmin, vmax, self.numticks)<EOL>return ticklocs<EOL>
Return the locations of the ticks