Experiments with a canvas in python