We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7089321 commit 1f24714Copy full SHA for 1f24714
CHANGELOG
@@ -1,3 +1,5 @@
1
+2008-05-09 Fix /singlequote (') in Postscript backend - MGD
2
+
3
2008-05-08 Fix kerning in SVG when embedding character outlines - MGD
4
5
2008-05-06 Fix strange colors when blitting in QtAgg and Qt4Agg - MGD
lib/matplotlib/backends/backend_ps.py
@@ -96,6 +96,7 @@ def quote_ps_string(s):
96
s=s.replace("\\", "\\\\")
97
s=s.replace("(", "\\(")
98
s=s.replace(")", "\\)")
99
+ s=s.replace("'", "\\251")
100
s=re.sub(r"[^ -~\n]", lambda x: r"\%03o"%ord(x.group()), s)
101
return s
102
0 commit comments