The lines drawn on a Tkinter.Canvas
are not smooth. How can they be made smooth?
Here\'s what I tried:
from Tkinter import *
root = Tk
tkinter graphics are not anti-aliased which is why the diagonal line appears jagged. There may be a platform specific work-around like this one I found titled Drawing Anti-Aliased Graphics Under Tkinter/Windows to provide the functionality you desire.
You might try to do some antialiasing of the poor, by drawing a clearer colored one pixel larger second line before (under) the first one.