Revision: 6172 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6172&view=rev Author: mdboom Date: 2008-10-08 18:16:49 +0000 (Wed, 08 Oct 2008)
Log Message: ----------- More informative error message when data is too large for Agg to draw it. Modified Paths: -------------- trunk/matplotlib/agg24/include/agg_rasterizer_cells_aa.h Modified: trunk/matplotlib/agg24/include/agg_rasterizer_cells_aa.h =================================================================== --- trunk/matplotlib/agg24/include/agg_rasterizer_cells_aa.h 2008-10-08 16:37:15 UTC (rev 6171) +++ trunk/matplotlib/agg24/include/agg_rasterizer_cells_aa.h 2008-10-08 18:16:49 UTC (rev 6172) @@ -185,7 +185,10 @@ if((m_num_cells & cell_block_mask) == 0) { if(m_num_blocks >= cell_block_limit) { - throw "Agg rendering complexity exceeded."; + /* If this exception is thrown too often, one can + increase cell_block_limit */ + throw "Agg rendering complexity exceeded. " + "Consider downsampling or decimating your data."; } allocate_block(); } 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