fixes Issue #1693 #1694

Merged
merged 1 commit into from Jan 23, 2013
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Split
@@ -587,7 +587,7 @@ def draw_markers(self, gc, marker_path, marker_trans, path, trans, rgbFace=None)
if rgbFace[0]==rgbFace[1] and rgbFace[0]==rgbFace[2]:
ps_color = '%1.3f setgray' % rgbFace[0]
else:
- ps_color = '%1.3f %1.3f %1.3f setrgbcolor' % rgbFace
+ ps_color = '%1.3f %1.3f %1.3f setrgbcolor' % rgbFace[:3]
# construct the generic marker command:
ps_cmd = ['/o {', 'gsave', 'newpath', 'translate'] # dont want the translate to be global