docstr: Specifies the ordering logic for the categories in the
  dimension. By default, plotly uses "trace", which specifies the
  order that is present in the data supplied. Set `categoryorder`
  to *category ascending* or *category descending* if order
  should be determined by the alphanumerical order of the
  category names. Set `categoryorder` to "array" to derive the
  ordering from the attribute `categoryarray`. If a category is
  not found in the `categoryarray` array, the sorting behavior
  for that attribute will be identical to the "trace" mode. The
  unspecified categories will follow the categories in
  `categoryarray`.
  
  The 'categoryorder' property is an enumeration that may be specified as:
    - One of the following enumeration values:
          ['trace', 'category ascending', 'category descending',
          'array']
  
  Returns
  -------
  Any
docstr_tok: ["Specifies","the","ordering","logic","for","the","categories","in","the","dimension",".","By","default",",","plotly","uses","``","trace","''",",","which","specifies","the","order","that","is","present","in","the","data","supplied",".","Set","`","categoryorder","`","to","*","category","ascending","*","or","*","category","descending","*","if","order","should","be","determined","by","the","alphanumerical","order","of","the","category","names",".","Set","`","categoryorder","`","to","``","array","''","to","derive","the","ordering","from","the","attribute","`","categoryarray","`",".","If","a","category","is","not","found","in","the","`","categoryarray","`","array",",","the","sorting","behavior","for","that","attribute","will","be","identical","to","the","``","trace","''","mode",".","The","unspecified","categories","will","follow","the","categories","in","`","categoryarray","`",".","The","'categoryorder","'","property","is","an","enumeration","that","may","be","specified","as",":","-","One","of","the","following","enumeration","values",":","[","'trace","'",",","'category","ascending","'",",","'category","descending","'",",","'array","'","]","Returns","--","--","--","-","Any"]
code: def categoryorder(self):
      """
      Specifies the ordering logic for the categories in the
      dimension. By default, plotly uses "trace", which specifies the
      order that is present in the data supplied. Set `categoryorder`
      to *category ascending* or *category descending* if order
      should be determined by the alphanumerical order of the
      category names. Set `categoryorder` to "array" to derive the
      ordering from the attribute `categoryarray`. If a category is
      not found in the `categoryarray` array, the sorting behavior
      for that attribute will be identical to the "trace" mode. The
      unspecified categories will follow the categories in
      `categoryarray`.
  
      The 'categoryorder' property is an enumeration that may be specified as:
        - One of the following enumeration values:
              ['trace', 'category ascending', 'category descending',
              'array']
  
      Returns
      -------
      Any
      """
      return self["categoryorder"]
  
imports: from plotly.basedatatypes import BaseTraceHierarchyType
  import copy
label_desc: Use image node_id 5 for calling the Dimension obj's underlying member method code with example usage: obj.categoryorder() and returns: self