pytools.viz.util#

Base and auxiliary classes for visualizations.

Classes#

FittedText

Handle storing and drawing of text in window or data coordinates; only render text that does not exceed the given width and height in data coordinates.

PercentageFormatter

Formats floats as a percentages with 3 digits precision, omitting trailing zeros.