Revision: 6462 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6462&view=rev Author: mdboom Date: 2008-12-01 15:23:49 +0000 (Mon, 01 Dec 2008)
Log Message: ----------- Fix disappearing small markers problem. Modified Paths: -------------- trunk/matplotlib/src/_backend_agg.cpp Modified: trunk/matplotlib/src/_backend_agg.cpp =================================================================== --- trunk/matplotlib/src/_backend_agg.cpp 2008-12-01 14:51:35 UTC (rev 6461) +++ trunk/matplotlib/src/_backend_agg.cpp 2008-12-01 15:23:49 UTC (rev 6462) @@ -493,9 +493,11 @@ trans *= agg::trans_affine_translation(0.0, (double)height); PathIterator marker_path(marker_path_obj); - // The built-in markers look better if snapping is turned on. - const bool marker_snap = true; - // bool marker_snap = should_snap(marker_path, marker_trans); + // The built-in markers look better if snapping is turned on, but + // unfortunately, it can cause really small things to disappear. + // Disabling for now to revisit at a later date. + // const bool marker_snap = true; + bool marker_snap = should_snap(marker_path, marker_trans); transformed_path_t marker_path_transformed(marker_path, marker_trans); simplify_t marker_path_simplified(marker_path_transformed, marker_snap, false, width, height); curve_t marker_path_curve(marker_path_simplified); 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Matplotlib-checkins mailing list Matplotlib-checkins@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins