Python interface for flot charts