Thanks to visit codestin.com Credit goes to github.com
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 9d30a1a + a0c51e1 commit 67d57bcCopy full SHA for 67d57bc
2 files changed
.github/workflows/tests.yml
@@ -222,6 +222,13 @@ jobs:
222
fi
223
224
225
+ cat <<EOT >> mplsetup.cfg
226
+ [rc_options]
227
+ backend=Agg
228
+ EOT
229
+
230
+ cat mplsetup.cfg
231
232
# All dependencies must have been pre-installed, so that the minver
233
# constraints are held.
234
python -m pip install --no-deps -e .
setup.py
@@ -212,7 +212,7 @@ def update_matplotlibrc(path):
212
idx for idx, line in enumerate(template_lines)
213
if "#backend:" in line]
214
template_lines[backend_line_idx] = (
215
- "#backend: {}".format(setupext.options["backend"])
+ "#backend: {}\n".format(setupext.options["backend"])
216
if setupext.options["backend"]
217
else "##backend: Agg")
218
path.write_text("".join(template_lines))
0 commit comments