Python codes, library and those used to create figures