Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit abe4b3e

Browse files
committed
Merge pull request #1694 from tacaswell/ps_backend_fix
fixes Issue #1693
2 parents 1efa832 + 5428a53 commit abe4b3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/backend_ps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ def draw_markers(self, gc, marker_path, marker_trans, path, trans, rgbFace=None)
587587
if rgbFace[0]==rgbFace[1] and rgbFace[0]==rgbFace[2]:
588588
ps_color = '%1.3f setgray' % rgbFace[0]
589589
else:
590-
ps_color = '%1.3f %1.3f %1.3f setrgbcolor' % rgbFace
590+
ps_color = '%1.3f %1.3f %1.3f setrgbcolor' % rgbFace[:3]
591591

592592
# construct the generic marker command:
593593
ps_cmd = ['/o {', 'gsave', 'newpath', 'translate'] # dont want the translate to be global

0 commit comments

Comments
 (0)