drawLabel

emlib.matplotting.drawLabel(ax, x, y, text, size=None, alpha=None, profile=None)[source]

Draw a text label at the given coordinates

Parameters:
  • ax (Axes) – the plot axes

  • x (float) – x coordinate

  • y (float) – y coordinate

  • text (str) – the text

  • size – size of the label. If given, overrides the profile’s “label_size”

  • alpha – if given, overrides the profile’s “label_alpha”

  • profile – the profile used (None = default)

Return type:

None