Revision: 4908
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4908&view=rev
Author: mdboom
Date: 2008-01-29 12:50:53 -0800 (Tue, 29 Jan 2008)
Log Message:
-----------
Bugfix for Python pre-2.5 (Thanks Jorgen Stenarson and Nils Wagner)
Modified Paths:
--------------
trunk/matplotlib/lib/matplotlib/path.py
Modified: trunk/matplotlib/lib/matplotlib/path.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/path.py 2008-01-29 20:24:58 UTC (rev
4907)
+++ trunk/matplotlib/lib/matplotlib/path.py 2008-01-29 20:50:53 UTC (rev
4908)
@@ -198,7 +198,7 @@
elif code == STOP:
return
else:
- num_vertices = NUM_VERTICES[code]
+ num_vertices = NUM_VERTICES[int(code)]
curr_vertices = vertices[i:i+num_vertices].flatten()
if any(isnan(curr_vertices)):
was_nan = True
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins