code: def get_decorated_label(args, column, role):
      original_label = label = get_label(args, column)
      if "histfunc" in args and (
          (role == "z")
          or (
              role == "x"
              and "orientation" in args
              and args["orientation"] == "h"
          )
          or (
              role == "y"
              and "orientation" in args
              and args["orientation"] == "v"
          )
      ):
          histfunc = args["histfunc"] or "count"
          if histfunc != "count":
              label = "%s of %s" % (histfunc, label)
          else:
              label = "count"
  
          if "histnorm" in args and args["histnorm"] is not None:
              if label == "count":
                  label = args["histnorm"]
              else:
                  histnorm = args["histnorm"]
                  if histfunc == "sum":
                      if histnorm == "probability":
                          label = "%s of %s" % ("fraction", label)
                      elif histnorm == "percent":
                          label = "%s of %s" % (histnorm, label)
                      else:
                          label = "%s weighted by %s" % (
                              histnorm,
                              original_label,
                          )
                  elif histnorm == "probability":
                      label = "%s of sum of %s" % ("fraction", label)
                  elif histnorm == "percent":
                      label = "%s of sum of %s" % ("percent", label)
                  else:
                      label = "%s of %s" % (histnorm, label)
  
          if "barnorm" in args and args["barnorm"] is not None:
              label = "%s (normalized as %s)" % (label, args["barnorm"])
  
      return label
  
imports: import plotly.graph_objs
  import plotly.io
  from collections import namedtuple, OrderedDict
  from ._special_inputs import IdentityMap, Constant, Range
  from .trendline_functions import ols, lowess, rolling, expanding, ewm
  from _plotly_utils.basevalidators import ColorscaleValidator
  from plotly.colors import qualitative, sequential
  import math
  from packaging import version
  import pandas
  import numpy
  from plotly._subplots import make_subplots, _set_trace_grid_reference, _subplot_type_for_trace_type
label_desc: Use image node_id 6 for calling a global function with example usage: get_decorated_label(args, column, role) and returns: label