Skip to content

Canvas and viewport

Canvas

Canvas (base)

Canvas (base)

This example shows how to create a canvas with a size specified using some units (centimeter) and how t enter the event loop (matplotlib).

Keyword: pixels, matplotlib, orthographic
Code: canvas-base.py