Documentation

Function defined in library pytamaro

empty_graphic()

empty_graphic

Creates an empty graphic. When an empty graphic is composed with any other graphic, it behaves as a neutral element: the result is always identical to the other graphic.

An empty graphic (width and height 0)
Code
print(graphic_width(empty_graphic()))
Output
0
Code
print(graphic_height(empty_graphic()))
Output
0

PyTamaro logo

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

Privacy Policy • Platform Version 7dd0569a (October 21, 2026 at 7:47:45 AM UTC)