From 56d48cf384ddb8034663a1dbfc1bcf825cbbd0a4 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Fri, 17 Jul 2020 18:50:31 -0400 Subject: [PATCH] Remove another overspecified latex geometry. This is a corollary to #17847; specifying paper size, body and margin causes a warning from the geometry package. --- lib/matplotlib/backends/backend_ps.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/matplotlib/backends/backend_ps.py b/lib/matplotlib/backends/backend_ps.py index 023242a6e1e3..e6d4074f1cf1 100644 --- a/lib/matplotlib/backends/backend_ps.py +++ b/lib/matplotlib/backends/backend_ps.py @@ -1107,8 +1107,7 @@ def convert_psfrags(tmpfile, psfrags, font_preamble, custom_preamble, mpl.rcParams["text.latex.preamble"] + r"\usepackage{psfrag,color}""\n" r"\usepackage[dvips]{graphicx}""\n" - r"\geometry{papersize={%(width)sin,%(height)sin}," - r"body={%(width)sin,%(height)sin},margin=0in}" + r"\geometry{papersize={%(width)sin,%(height)sin},margin=0in}" % {"width": paper_width, "height": paper_height} }): dvifile = TexManager().make_dvi(