Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b55086 commit d9ad6a1Copy full SHA for d9ad6a1
1 file changed
src/_backend_agg.cpp
@@ -686,9 +686,8 @@ RendererAgg::draw_text_image(const Py::Tuple& args) {
686
y = Py::Int( args[2] );
687
}
688
catch (Py::TypeError) {
689
- //x,y out of range; todo issue warning?
690
Py_XDECREF(image_array);
691
- return Py::Object();
+ throw Py::TypeError("Invalid input arguments to draw_text_image");
692
693
694
double angle = Py::Float( args[3] );
0 commit comments