Permalink
Browse files

Merge pull request #1694 from tacaswell/ps_backend_fix

fixes Issue #1693
  • Loading branch information...
2 parents 1efa832 + 5428a53 commit abe4b3e3f39ca18041b4bf2be2c33f739174f4cf @WeatherGod WeatherGod committed Jan 23, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/matplotlib/backends/backend_ps.py
@@ -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

0 comments on commit abe4b3e

Please sign in to comment.