text

mipylib.plotlib.miplot.text(x, y, s, fontname='Arial', fontsize=14, bold=False, color='black')

Add text to the axes. Add text in string s to axis at location x , y , data coordinates.

Parameters
  • x – (float) Data x coordinate.

  • y – (float) Data y coordinate.

  • s – (string) Text.

  • fontname – (string) Font name. Default is Arial .

  • fontsize – (int) Font size. Default is 14 .

  • bold – (boolean) Is bold font or not. Default is False .

  • color – (color) Tick label string color. Default is black .

Example:

>>> text(15.5, 20.2, 'text', fontsize=12)