toyplot.text module

Functions for manipulating text.

toyplot.text.extents(text, angle, style)[source]

Compute (inexact) extents for a text string, based on the given coordinates and style.