code: def __init__(
      self,
      plotly_name="categoryorder",
      parent_name="layout.xaxis",
      **kwargs,
  ):
      super(CategoryorderValidator, self).__init__(
          plotly_name=plotly_name,
          parent_name=parent_name,
          edit_type=kwargs.pop("edit_type", "calc"),
          values=kwargs.pop(
              "values",
              [
                  "trace",
                  "category ascending",
                  "category descending",
                  "array",
                  "total ascending",
                  "total descending",
                  "min ascending",
                  "min descending",
                  "max ascending",
                  "max descending",
                  "sum ascending",
                  "sum descending",
                  "mean ascending",
                  "mean descending",
                  "median ascending",
                  "median descending",
              ],
          ),
          **kwargs,
      )
  
label_desc: Use image node_id 1 to create a new CategoryorderValidator object from inherited base classes: _plotly_utils.basevalidators with example: obj = CategoryorderValidator(plotly_name, parent_name)