Kozea/pygal — pull request #8 by Schnouki (2012-10-31 16:46:31+00:00)
Title: Add formatter config option

This adds a `formatter` option that lets user use their own function to convert numbers into human-readable values. The `human_readable` option is still here, but won't be used if `formatter` is provided.

I'm using this to convert seconds from "42165" to "11h 42m 45s", but I'm sure there are plenty of other ways to use this.