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.
1 parent 4a44cb2 commit e33baa8Copy full SHA for e33baa8
2 files changed
.github/workflows/tests.yml
@@ -225,6 +225,13 @@ jobs:
225
fi
226
227
228
+ cat <<EOT >> mplsetup.cfg
229
+ [rc_options]
230
+ backend=Agg
231
+ EOT
232
+
233
+ cat mplsetup.cfg
234
235
# All dependencies must have been pre-installed, so that the minver
236
# constraints are held.
237
python -m pip install --no-deps -e .
setup.py
@@ -205,7 +205,7 @@ def update_matplotlibrc(path):
205
idx for idx, line in enumerate(template_lines)
206
if "#backend:" in line]
207
template_lines[backend_line_idx] = (
208
- "#backend: {}".format(setupext.options["backend"])
+ "#backend: {}\n".format(setupext.options["backend"])
209
if setupext.options["backend"]
210
else "##backend: Agg")
211
path.write_text("".join(template_lines))
0 commit comments