p = plot([1,2,3,4,5], title="x")[0] text = p.addText(1.5, 3.6, "Test") #Changing color text.paint = Color.GREEN #Changing font import java.awt.Font as Font text.font = Font("Verdana", Font.PLAIN, 12) #Rotation import math text.rotationAngle = math.radians(90.0) #Removing p.removeText(text)