docstr: Sets the upper bound of the color domain.
  
  The 'cmax' property is a number and may be specified as:
    - An int or float
  
  Returns
  -------
  int|float
docstr_tok: ["Sets","the","upper","bound","of","the","color","domain",".","The","'cmax","'","property","is","a","number","and","may","be","specified","as",":","-","An","int","or","float","Returns","--","--","--","-","int|float"]
code: def cmax(self):
      """
      Sets the upper bound of the color domain.
  
      The 'cmax' property is a number and may be specified as:
        - An int or float
  
      Returns
      -------
      int|float
      """
      return self["cmax"]
  
file_path: plotly.py/packages/python/plotly/plotly/graph_objs/sankey/link/_colorscale.py
imports: from plotly.basedatatypes import BaseTraceHierarchyType
  import copy
label_desc: Use image node_id 1 for calling the Colorscale obj's underlying member method code with example usage: obj.cmax() and returns: self