File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -222,6 +222,13 @@ jobs:
222
222
fi
223
223
fi
224
224
225
+ cat <<EOT >> mplsetup.cfg
226
+ [rc_options]
227
+ backend=Agg
228
+ EOT
229
+
230
+ cat mplsetup.cfg
231
+
225
232
# All dependencies must have been pre-installed, so that the minver
226
233
# constraints are held.
227
234
python -m pip install --no-deps -e .
Original file line number Diff line number Diff line change @@ -212,7 +212,7 @@ def update_matplotlibrc(path):
212
212
idx for idx , line in enumerate (template_lines )
213
213
if "#backend:" in line ]
214
214
template_lines [backend_line_idx ] = (
215
- "#backend: {}" .format (setupext .options ["backend" ])
215
+ "#backend: {}\n " .format (setupext .options ["backend" ])
216
216
if setupext .options ["backend" ]
217
217
else "##backend: Agg" )
218
218
path .write_text ("" .join (template_lines ))
You can’t perform that action at this time.
0 commit comments