Replace std::string with C-style string
Add dependence on matplotlib