We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent acfa6a1 commit a4e57e2Copy full SHA for a4e57e2
src/agg_py_transforms.cpp
@@ -77,7 +77,7 @@ py_convert_bbox(PyObject* bbox_obj, double& l, double& b, double& r, double& t)
77
if (!bbox || PyArray_NDIM(bbox) != 2 || PyArray_DIM(bbox, 0) != 2 || PyArray_DIM(bbox, 1) != 2)
78
{
79
throw Py::TypeError
80
- ("Argument 3 to agg_to_gtk_drawable must be a Bbox object.");
+ ("Expected a bbox array");
81
}
82
83
l = *(double*)PyArray_GETPTR2(bbox, 0, 0);
0 commit comments