FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Correct matplotlib cfg · DataScience2016/docker-python@65ee037 · GitHub

Repository navigation

Commit 65ee037

Browse files
committed
Correct matplotlib cfg
1 parent 235b178 commit 65ee037

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Dockerfile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,6 @@ RUN apt-get -y install libgeos-dev && \
9292

9393
# Matplotlib, with backend set to Agg
9494
RUN cd /usr/local/src && git clone https://github.com/matplotlib/matplotlib.git && \
95-
cd matplotlib && sed 's/^#backend = Agg/^backend = Agg/' setup.cfg.template && \
96-
mv setup.cfg.template setup.cfg && python setup.py build && python setup.py install
95+
cd matplotlib && mv setup.cfg.template setup.cfg && echo "backend = Agg" >> setup.cfg && \
96+
python setup.py build && python setup.py install
9797

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL