Revision: 6735 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6735&view=rev Author: mdboom Date: 2009-01-05 14:46:33 +0000 (Mon, 05 Jan 2009)
Log Message: ----------- Add some comments for clarification Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/path.py Modified: trunk/matplotlib/lib/matplotlib/path.py =================================================================== --- trunk/matplotlib/lib/matplotlib/path.py 2009-01-05 05:28:57 UTC (rev 6734) +++ trunk/matplotlib/lib/matplotlib/path.py 2009-01-05 14:46:33 UTC (rev 6735) @@ -603,6 +603,7 @@ cursor = 0 + # - horizontal if counts[0]: vertices_chunk = vertices[cursor:cursor + counts[0] * 2] cursor += counts[0] * 2 @@ -612,6 +613,7 @@ vertices_chunk[1::2, 0] = size vertices_chunk[1::2, 1] = steps + # / ne if counts[1]: vertices_chunk = vertices[cursor:cursor + counts[1] * 4] cursor += counts[1] * 4 @@ -625,6 +627,7 @@ vertices_chunk[3::4, 0] = size vertices_chunk[3::4, 1] = steps + # | vertical if counts[2]: vertices_chunk = vertices[cursor:cursor + counts[2] * 2] cursor += counts[2] * 2 @@ -634,6 +637,7 @@ vertices_chunk[1::2, 0] = steps vertices_chunk[1::2, 1] = size + # \ se if counts[3]: vertices_chunk = vertices[cursor:cursor + counts[3] * 4] cursor += counts[3] * 4 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ _______________________________________________ Matplotlib-checkins mailing list Matplotlib-checkins@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins