parameters: (self)
return_statement: return locs
docstring: Return the locations of the ticks.
docstring_summary: Return the locations of the ticks.
docstring_tokens: Return the locations of the ticks .
function: def __call__(self):
          'Return the locations of the ticks.'
          # axis calls Locator.set_axis inside set_m<xxxx>_formatter
          _check_implicitly_registered()
  
          vi = tuple(self.axis.get_view_interval())
          if vi != self.plot_obj.view_interval:
              self.plot_obj.date_axis_info = None
          self.plot_obj.view_interval = vi
          vmin, vmax = vi
          if vmax < vmin:
              vmin, vmax = vmax, vmin
          if self.isdynamic:
              locs = self._get_default_locs(vmin, vmax)
          else:  # pragma: no cover
              base = self.base
              (d, m) = divmod(vmin, base)
              vmin = (d + 1) * base
              locs = lrange(vmin, vmax + 1, base)
          return locs
function_tokens: def __call__ ( self ) : # axis calls Locator.set_axis inside set_m<xxxx>_formatter _check_implicitly_registered ( ) vi = tuple ( self . axis . get_view_interval ( ) ) if vi != self . plot_obj . view_interval : self . plot_obj . date_axis_info = None self . plot_obj . view_interval = vi vmin , vmax = vi if vmax < vmin : vmin , vmax = vmax , vmin if self . isdynamic : locs = self . _get_default_locs ( vmin , vmax ) else : # pragma: no cover base = self . base ( d , m ) = divmod ( vmin , base ) vmin = ( d + 1 ) * base locs = lrange ( vmin , vmax + 1 , base ) return locs