How to do waffle charts in python? (square piechart)

I spent a few days to build a more general solution, PyWaffle. You can install it through pip install pywaffle The source code: https://github.com/gyli/PyWaffle PyWaffle does not use matshow() method, but builds those squares one by one. That makes it easier for customization. Besides, what it provides is a custom Figure class, which returns a … Read more