spack/var/spack/repos/builtin/packages/py-matplotlib/matplotlibrc.patch
Adam J. Stewart fcd5f960f8
py-matplotlib: add v3.5.0 (#27486)
* py-matplotlib: add v3.5.0

* Remove deprecated versions, update setup.cfg filename

* Add additional dependencies, save config file

* Add patch to fix matplotlibrc
2021-11-29 17:19:01 +01:00

12 lines
493 B
Diff

--- a/setup.py 2021-09-23 23:57:06.000000000 -0500
+++ b/setup.py 2021-11-18 14:29:50.000000000 -0600
@@ -212,7 +212,7 @@
idx for idx, line in enumerate(template_lines)
if "#backend:" in line]
template_lines[backend_line_idx] = (
- "#backend: {}".format(setupext.options["backend"])
+ "#backend: {}\n".format(setupext.options["backend"])
if setupext.options["backend"]
else "##backend: Agg")
path.write_text("".join(template_lines))