docstr: Specifies the location(s) of slices on the axis. When not
  specified slices would be created for all points of the axis y
  except start and end.
  
  The 'locations' property is an array that may be specified as a tuple,
  list, numpy array, or pandas Series
  
  Returns
  -------
  numpy.ndarray
docstr_tok: ["Specifies","the","location","(","s",")","of","slices","on","the","axis",".","When","not","specified","slices","would","be","created","for","all","points","of","the","axis","y","except","start","and","end",".","The","'locations","'","property","is","an","array","that","may","be","specified","as","a","tuple",",","list",",","numpy","array",",","or","pandas","Series","Returns","--","--","--","-","numpy.ndarray"]
code: def locations(self):
      """
      Specifies the location(s) of slices on the axis. When not
      specified slices would be created for all points of the axis y
      except start and end.
  
      The 'locations' property is an array that may be specified as a tuple,
      list, numpy array, or pandas Series
  
      Returns
      -------
      numpy.ndarray
      """
      return self["locations"]
  
file_path: catboost/contrib/python/plotly/py2/plotly/graph_objs/volume/slices/_y.py
imports: from plotly.basedatatypes import BaseTraceHierarchyType
  import copy
label_desc: Use image node_id 3 for calling the Y obj's underlying member method code with example usage: obj.locations() and returns: self