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

Skip to content

Commit 5a6d1e2

Browse files
committed
removed some debug print statements
svn path=/trunk/matplotlib/; revision=366
1 parent 21a69ff commit 5a6d1e2

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
@@ -881,7 +881,7 @@ RendererAgg::draw_image(const Py::Tuple& args) {
881881
throw Py::ValueError("origin must be upper|lower");
882882

883883
bool isUpper = origin=="upper";
884-
std::cout << "agg says isupper " << origin << " " << isUpper << std::endl;
884+
//std::cout << "agg says isupper " << origin << " " << isUpper << std::endl;
885885

886886

887887
//todo: handle x and y
@@ -891,7 +891,7 @@ RendererAgg::draw_image(const Py::Tuple& args) {
891891
size_t thisx, thisy;
892892
size_t oy = isUpper ? y : height-y;
893893
//if (isUpper) oy -= image->rowsOut; //start at top
894-
std::cout << "params " << height << " " << y << " " << oy << " " << image->rowsOut << std::endl;
894+
//std::cout << "params " << height << " " << y << " " << oy << " " << image->rowsOut << std::endl;
895895
for (size_t j=0; j<image->rowsOut; j++) {
896896
for (size_t i=0; i<image->colsOut; i++) {
897897
thisx = i+x;

0 commit comments

Comments
 (0)