Forum Archive

Beta problem: Canvas

nixterrimus

In the most recent beta, I'm seeing errors where canvas is not defined.

This program:

#Draw a red circle filling the entire canvas
import canvas
w = h = 512
canvas.set_size(w, h)
canvas.set_fill_color(1, 0, 0)
canvas.fill_ellipse(0, 0, w, h)

Causes an error "Import Error: No module named canvas". This program worked in production version.

Do I need to do something different in the beta? Or is this a regression?

tomkirn

Same here. Can't find canvas in Standard Library. Seems to be missing in action.

Webmaster4o

Ditto. Not there.

techteej

+1. I think it would help @omz if we used the 'beta' tag for all problems with the current or previous betas.