With this repository you can draw statistics using tkinter and of course python.
import estadistica
master = Tk()
canvas_width = 200
canvas_height = 100
view = estadistica.View(master, 450, 300)
view.make_table([45, 38, 92, 54, 100], 20, ["Geometria",
"Fisica", "Aritmetica", "Matematica"])
master.mainloop()