parameters: (self, locs)
docstring: Sets the locations of the ticks
docstring_summary: Sets the locations of the ticks
docstring_tokens: Sets the locations of the ticks
function: def set_locs(self, locs):
          'Sets the locations of the ticks'
          # don't actually use the locs. This is just needed to work with
          # matplotlib. Force to use vmin, vmax
          _check_implicitly_registered()
  
          self.locs = locs
  
          (vmin, vmax) = 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
          if vmax < vmin:
              (vmin, vmax) = (vmax, vmin)
          self._set_default_format(vmin, vmax)
function_tokens: def set_locs ( self , locs ) : # don't actually use the locs. This is just needed to work with # matplotlib. Force to use vmin, vmax _check_implicitly_registered ( ) self . locs = locs ( vmin , vmax ) = 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 if vmax < vmin : ( vmin , vmax ) = ( vmax , vmin ) self . _set_default_format ( vmin , vmax )