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

Logo of PyTamaro

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

Privacy PolicyPlatform Version ae799c9 (Mon, 16 Feb 2026 09:42:15 GMT)