Update canvas.py

Merged Shang, Yingrui requested to merge rys-main-patch-29928 into main

update the title

Merge request reports