Skip to content

Commit ea16e17

Browse files
greglucasmeeseeksmachine
authored andcommitted
Backport PR #22596: Fix backend in matplotlibrc if unset in mplsetup.cfg
1 parent 631706a commit ea16e17

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)