Documentation

Function defined in library pytamaro
Side Effects

show_graphic(graphic)

show_graphicgraphic

Show a graphic. Graphics with no area cannot be shown.

When debug is True, adorns the visualization with useful information for debugging: a red border around the bounding box and a yellowish cross around the pinning position.

graphicgraphic to be shown

Code
show_graphic(rectangle(100, 60, green))
Output
Graphical output from execution result

PyTamaro logo

PyTamaro is a project created by the Lugano Computing Education Research Lab at the Software Institute of USI

Privacy Policy • Platform Version 8e04fca9 (October 23, 2026 at 3:57:58 PM UTC)