docstr: Sets the order in which categories in this dimension appear.
  Only has an effect if `categoryorder` is set to "array". Used
  with `categoryorder`.
  
  The 'categoryarray' property is an array that may be specified as a tuple,
  list, numpy array, or pandas Series
  
  Returns
  -------
  numpy.ndarray
docstr_tok: ["Sets","the","order","in","which","categories","in","this","dimension","appear",".","Only","has","an","effect","if","`","categoryorder","`","is","set","to","``","array","''",".","Used","with","`","categoryorder","`",".","The","'categoryarray","'","property","is","an","array","that","may","be","specified","as","a","tuple",",","list",",","numpy","array",",","or","pandas","Series","Returns","--","--","--","-","numpy.ndarray"]
code: def categoryarray(self):
      """
      Sets the order in which categories in this dimension appear.
      Only has an effect if `categoryorder` is set to "array". Used
      with `categoryorder`.
  
      The 'categoryarray' property is an array that may be specified as a tuple,
      list, numpy array, or pandas Series
  
      Returns
      -------
      numpy.ndarray
      """
      return self["categoryarray"]
  
imports: from plotly.basedatatypes import BaseTraceHierarchyType
  import copy
label_desc: Use image node_id 1 for calling the Dimension obj's underlying member method code with example usage: obj.categoryarray() and returns: self