When setting the 'extent' keyword in the imshow function I receive the following error: _due to unexpected exception with message: Call to imshow() failed_ How I call the imshow function: PyObject* mat; plt::imshow(values, height, width, 1, {{"interpolation","bilinear"},{"origin", "lower"},{"aspect", "auto"}, {"extent","{0, 100, 0, 40}"}, &mat); How could I provide imshow() with the extent keyword?