[FIX] runbot: badges: Tkinter require a X server. use matplotlib to compute text width