Revision: 3990 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=3990&view=rev Author: mdboom Date: 2007-10-23 12:48:14 -0700 (Tue, 23 Oct 2007)
Log Message: ----------- Fix bug affecting legend_auto.py Modified Paths: -------------- branches/transforms/src/_backend_agg.cpp Modified: branches/transforms/src/_backend_agg.cpp =================================================================== --- branches/transforms/src/_backend_agg.cpp 2007-10-23 19:47:43 UTC (rev 3989) +++ branches/transforms/src/_backend_agg.cpp 2007-10-23 19:48:14 UTC (rev 3990) @@ -1568,12 +1568,12 @@ curved_path.rewind(0); while ((code = curved_path.vertex(&x, &y)) != agg::path_cmd_stop) { + if ((code & agg::path_cmd_end_poly) == agg::path_cmd_end_poly) + continue; if (x < *x0) *x0 = x; if (y < *y0) *y0 = y; if (x > *x1) *x1 = x; if (y > *y1) *y1 = y; - if ((code & agg::path_cmd_end_poly) == agg::path_cmd_end_poly) - continue; } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Matplotlib-checkins mailing list Matplotlib-checkins@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins