Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e3d5953

Browse files
committed
Remove an accidental printf.
svn path=/trunk/matplotlib/; revision=4889
1 parent 3e1705a commit e3d5953

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/_backend_agg.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -929,7 +929,8 @@ RendererAgg::_draw_path_collection_generic
929929
PyArrayObject* edgecolors = NULL;
930930

931931
try {
932-
offsets = (PyArrayObject*)PyArray_FromObject(offsets_obj.ptr(), PyArray_DOUBLE, 0, 2);
932+
offsets = (PyArrayObject*)PyArray_FromObject
933+
(offsets_obj.ptr(), PyArray_DOUBLE, 0, 2);
933934
if (!offsets ||
934935
(PyArray_NDIM(offsets) == 2 && PyArray_DIM(offsets, 1) != 2) ||
935936
(PyArray_NDIM(offsets) == 1 && PyArray_DIM(offsets, 0) != 0)) {
@@ -1078,7 +1079,6 @@ RendererAgg::_draw_path_collection_generic
10781079
Py_XDECREF(edgecolors);
10791080
return Py::Object();
10801081
} catch (...) {
1081-
printf("Exception!\n");
10821082
Py_XDECREF(offsets);
10831083
Py_XDECREF(facecolors);
10841084
Py_XDECREF(edgecolors);

0 commit comments

Comments
 (0)