Skip to content

Commit f7e3833

Browse files
authored
Merge pull request #22602 from meeseeksmachine/auto-backport-of-pr-22596-on-v3.5.x
Backport PR #22596 on branch v3.5.x (Fix backend in matplotlibrc if unset in mplsetup.cfg)
2 parents 631706a + ea16e17 commit f7e3833

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ def update_matplotlibrc(path):
214214
template_lines[backend_line_idx] = (
215215
"#backend: {}\n".format(setupext.options["backend"])
216216
if setupext.options["backend"]
217-
else "##backend: Agg")
217+
else "##backend: Agg\n")
218218
path.write_text("".join(template_lines))
219219

220220

0 commit comments

Comments
 (0)