def writeTagPlusValue(canvas, position, string_tag, value):
    string_value = ""
    if isinstance(value,(int,long)) :
        string_value = " %d"%value
    else:
        string_value = " %.3f"%value
    writeTagPlusStringValue(canvas, position, string_tag, string_value)
Writes a numeric value into an image, preceded with a bold tag.
dataset/ETHPy150Open victor-gil-sepulveda/pyProCT/pyproct/tools/plotTools.py/writeTagPlusValue