From: <md...@us...> - 2008-01-23 18:14:04
|
Revision: 4889 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4889&view=rev Author: mdboom Date: 2008-01-23 10:13:40 -0800 (Wed, 23 Jan 2008) Log Message: ----------- Remove an accidental printf. Modified Paths: -------------- trunk/matplotlib/src/_backend_agg.cpp Modified: trunk/matplotlib/src/_backend_agg.cpp =================================================================== --- trunk/matplotlib/src/_backend_agg.cpp 2008-01-23 14:35:21 UTC (rev 4888) +++ trunk/matplotlib/src/_backend_agg.cpp 2008-01-23 18:13:40 UTC (rev 4889) @@ -929,7 +929,8 @@ PyArrayObject* edgecolors = NULL; try { - offsets = (PyArrayObject*)PyArray_FromObject(offsets_obj.ptr(), PyArray_DOUBLE, 0, 2); + offsets = (PyArrayObject*)PyArray_FromObject + (offsets_obj.ptr(), PyArray_DOUBLE, 0, 2); if (!offsets || (PyArray_NDIM(offsets) == 2 && PyArray_DIM(offsets, 1) != 2) || (PyArray_NDIM(offsets) == 1 && PyArray_DIM(offsets, 0) != 0)) { @@ -1078,7 +1079,6 @@ Py_XDECREF(edgecolors); return Py::Object(); } catch (...) { - printf("Exception!\n"); Py_XDECREF(offsets); Py_XDECREF(facecolors); Py_XDECREF(edgecolors); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |