The Canvas' method create_line turns on at least 2 pixels. But I want to turn
on many single pixels on a Canvas.

Advertising

You could try using a 1x1 rectangle instead.
However, be aware that either of these will use quite a
lot of memory per pixel. If you are drawing a very large
number of pixels, this could cause performance problems.
In that case, you might want to use a different approach,
such as creating an image and telling the canvas to display
the image.
--
Greg
--
https://mail.python.org/mailman/listinfo/python-list