I have a graph class in C++, and I am trying to use the Python C API, so I can use matplotlib for plotting. However, after I call python modules from my C++ class with a lis