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.
2 parents 9439818 + 99adcf9 commit a35a51fCopy full SHA for a35a51f
lib/matplotlib/backends/backend_pgf.py
@@ -116,8 +116,8 @@ def common_texification(text):
116
117
118
def writeln(fh, line):
119
- # every line of a file included with \\input must be terminated with %
120
- # if not, latex will create additional vertical spaces for some reason
+ # Ending lines with a % prevents TeX from inserting spurious spaces
+ # (https://tex.stackexchange.com/questions/7453).
121
fh.write(line)
122
fh.write("%\n")
123
0 commit comments