From 6bfde8d83300819a5feaea6e2fd01ac26f34d30f Mon Sep 17 00:00:00 2001 From: Antony Lee Date: Wed, 25 Nov 2020 10:16:15 +0100 Subject: [PATCH] Remove reference to unicode-math in pgf preamble. This used to be required to support unicode minus, but we now strip out the minuses ourselves. --- lib/matplotlib/backends/backend_pgf.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/matplotlib/backends/backend_pgf.py b/lib/matplotlib/backends/backend_pgf.py index 74cc7ef8f33a..18b0c799ba1e 100644 --- a/lib/matplotlib/backends/backend_pgf.py +++ b/lib/matplotlib/backends/backend_pgf.py @@ -792,9 +792,6 @@ def _print_pgf_to_fh(self, fh, *, bbox_inches_restore=None): %% Make sure the required packages are loaded in your preamble %% \\usepackage{pgf} %% -%% and on luatex and xetex -%% \\usepackage{unicode-math} -%% %% Figures using additional raster images can only be included by \\input if %% they are in the same directory as the main LaTeX file. For loading figures %% from other directories you can use the `import` package