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 @@ -225,6 +225,13 @@ jobs:
225225 fi
226226 fi
227227
228+ cat <<EOT >> mplsetup.cfg
229+ [rc_options]
230+ ##backend=Agg
231+ EOT
232+
233+ cat mplsetup.cfg
234+
228235 # All dependencies must have been pre-installed, so that the minver
229236 # constraints are held.
230237 python -m pip install --no-deps -e .
Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ def update_matplotlibrc(path):
205205 idx for idx , line in enumerate (template_lines )
206206 if "#backend:" in line ]
207207 template_lines [backend_line_idx ] = (
208- "#backend: {}" .format (setupext .options ["backend" ])
208+ "#backend: {}\n " .format (setupext .options ["backend" ])
209209 if setupext .options ["backend" ]
210210 else "##backend: Agg" )
211211 path .write_text ("" .join (template_lines ))
You can’t perform that action at this time.
0 commit comments