From c24a72fbd309920251173cdb283b06866a23cd96 Mon Sep 17 00:00:00 2001 From: ImportanceOfBeingErnest Date: Thu, 27 Sep 2018 02:52:31 +0200 Subject: [PATCH] gs9 everywhere --- INSTALL.rst | 4 ++-- doc/devel/testing.rst | 2 +- lib/matplotlib/__init__.py | 2 +- tutorials/text/usetex.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/INSTALL.rst b/INSTALL.rst index abc24de38eb9..5e4ca0645374 100644 --- a/INSTALL.rst +++ b/INSTALL.rst @@ -170,8 +170,8 @@ etc., you can install the following: animated gifs; * `Pillow `_ (>= 3.4): for a larger selection of image file formats: JPEG, BMP, and TIFF image files; -* `LaTeX `_ and `GhostScript - `_ (for rendering text with LaTeX). +* `LaTeX `_ and `GhostScript (>=9.0) + `_ : for rendering text with LaTeX. .. note:: diff --git a/doc/devel/testing.rst b/doc/devel/testing.rst index 7d03899751c8..46511aa875ea 100644 --- a/doc/devel/testing.rst +++ b/doc/devel/testing.rst @@ -26,7 +26,7 @@ local FreeType build. The following software is required to run the tests: - pytest_ (>=3.6) -- Ghostscript_ (to render PDF files) +- Ghostscript_ (>= 9.0, to render PDF files) - Inkscape_ (to render SVG files) Optionally you can install: diff --git a/lib/matplotlib/__init__.py b/lib/matplotlib/__init__.py index 27f6e72fdd5b..82e460323595 100644 --- a/lib/matplotlib/__init__.py +++ b/lib/matplotlib/__init__.py @@ -516,7 +516,7 @@ def checkdep_usetex(s): if not s: return False - gs_req = '8.60' + gs_req = '9.00' dvipng_req = '1.6' flag = True diff --git a/tutorials/text/usetex.py b/tutorials/text/usetex.py index 1af699dc4224..5e292e4b4f41 100644 --- a/tutorials/text/usetex.py +++ b/tutorials/text/usetex.py @@ -21,7 +21,7 @@ Matplotlib's LaTeX support requires a working LaTeX_ installation, dvipng_ (which may be included with your LaTeX installation), and Ghostscript_ -(GPL Ghostscript 8.60 or later is recommended). The executables for these +(GPL Ghostscript 9.0 or later is required). The executables for these external dependencies must all be located on your :envvar:`PATH`. There are a couple of options to mention, which can be changed using