parameters: (self, value)
return_statement: return self._index[value]
docstring: Returns the integer position of the given tick label.
docstring_summary: Returns the integer position of the given tick label.
docstring_tokens: Returns the integer position of the given tick label .
function: def index(self, value):
      """Returns the integer position of the given tick label."""
      if self._index is None:
        raise ValueError('Axis does not have tick labels')
      return self._index[value]
function_tokens: def index ( self , value ) : if self . _index is None : raise ValueError ( 'Axis does not have tick labels' ) return self . _index [ value ]