pygal optimizations