Commit 62259f3b authored by Locatelli's avatar Locatelli
Browse files

Correct bug

parent bb5e85c0
......@@ -172,7 +172,7 @@ void Mpl::close(const PythonObject& figure) throw (Error) {
MplLock lock;
// Create matplotlib figure object
auto args = bp::make_tuple(figure);
auto args = bp::make_tuple(figure());
try {
m_PyPlot.attr("close")(*args);
} catch (...) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment