If you want to use Tkinter to draw some shapes see:
http://www.daniweb.com/techtalkforums/post261377-80.html
If you want to display a GIF image with Tkinter see:
(for other image formats PIL works with Tkinter)
http://www.daniweb.com/code/snippet296.html
If you want to plot a math function you can use VPython:
http://www.daniweb.com/code/snippet376.html