class_docstr: GraphicsItem showing a single plot axis with ticks, values, and label.
  Can be configured to fit on any side of a plot, 
  Can automatically synchronize its displayed scale with ViewBox items.
  Ticks can be extended to draw a grid.
  If maxTickLength is negative, ticks point into the plot.
docstr: Set the text displayed adjacent to the axis.
  
  ==============  =============================================================
  **Arguments:**
  text            The text (excluding units) to display on the label for this
                  axis.
  units           The units for this axis. Units should generally be given
                  without any scaling prefix (eg, 'V' instead of 'mV'). The
                  scaling prefix will be automatically prepended based on the
                  range of data displayed.
  args            All extra keyword arguments become CSS style options for
                  the <span> tag which will surround the axis label and units.
  ==============  =============================================================
  
  The final text generated for the label will look like::
  
      <span style="...options...">{text} (prefix{units})</span>
  
  Each extra keyword argument will become a CSS option in the above template.
  For example, you can set the font size and color of the label::
  
      labelStyle = {'color': '#FFF', 'font-size': '14pt'}
      axis.setLabel('label text', units='V', **labelStyle)
docstr_tok: ["Set","the","text","displayed","adjacent","to","the","axis",".","==============","=============================================================","*","*","Arguments",":","*","*","text","The","text","(","excluding","units",")","to","display","on","the","label","for","this","axis",".","units","The","units","for","this","axis",".","Units","should","generally","be","given","without","any","scaling","prefix","(","eg",",","'","V","'","instead","of","'mV","'",")",".","The","scaling","prefix","will","be","automatically","prepended","based","on","the","range","of","data","displayed",".","args","All","extra","keyword","arguments","become","CSS","style","options","for","the","<","span",">","tag","which","will","surround","the","axis","label","and","units",".","==============","=============================================================","The","final","text","generated","for","the","label","will","look","like",":",":","<","span","style=","''","...","options","...","''",">","{","text","}","(","prefix","{","units","}",")","<","\/span",">","Each","extra","keyword","argument","will","become","a","CSS","option","in","the","above","template",".","For","example",",","you","can","set","the","font","size","and","color","of","the","label",":",":","labelStyle","=","{","'color","'",":","'","#","FFF","'",",","'font-size","'",":","'14pt","'","}","axis.setLabel","(","'label","text","'",",","units=","'","V","'",",","*","*","labelStyle",")"]
code: def setLabel(self, text=None, units=None, unitPrefix=None, **args):
      """Set the text displayed adjacent to the axis.
  
      ==============  =============================================================
      **Arguments:**
      text            The text (excluding units) to display on the label for this
                      axis.
      units           The units for this axis. Units should generally be given
                      without any scaling prefix (eg, 'V' instead of 'mV'). The
                      scaling prefix will be automatically prepended based on the
                      range of data displayed.
      args            All extra keyword arguments become CSS style options for
                      the <span> tag which will surround the axis label and units.
      ==============  =============================================================
  
      The final text generated for the label will look like::
  
          <span style="...options...">{text} (prefix{units})</span>
  
      Each extra keyword argument will become a CSS option in the above template.
      For example, you can set the font size and color of the label::
  
          labelStyle = {'color': '#FFF', 'font-size': '14pt'}
          axis.setLabel('label text', units='V', **labelStyle)
  
      """
      # `None` input is kept for backward compatibility!
      self.labelText = text or ""
      self.labelUnits = units or ""
      self.labelUnitPrefix = unitPrefix or ""
      if len(args) > 0:
          self.labelStyle = args
      # Account empty string and `None` for units and text
      visible = True if (text or units) else False
      self.showLabel(visible)
      self._updateLabel()
  
imports: import weakref
  from math import ceil, floor, isfinite, log10, sqrt, frexp, floor
  import numpy
  from ..None import debug
  from ..None import functions
  from ..None import getConfigOption
  from ..Point import Point
  from ..Qt import QtCore, QtGui, QtWidgets
  from .GraphicsWidget import GraphicsWidget
label_desc: Use image node_id 9 for calling the AxisItem obj's underlying member method code with example usage: obj.setLabel(text, units, unitPrefix) without return types