Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit abe4b3e

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

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎lib/matplotlib/backends/backend_ps.py

Copy file name to clipboardExpand all lines: lib/matplotlib/backends/backend_ps.py
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.