From a0cd583cbcd060bbe0f8740f35447dcf1be52951 Mon Sep 17 00:00:00 2001 From: Neko Alosama <47763383+NekoAlosama@users.noreply.github.com> Date: Wed, 20 Jan 2021 10:27:22 -0500 Subject: [PATCH] Update easylist_pac.py In future versions of Matplotlib, having 'text.latex.preamble' as a list isn't possible. --- easylist_pac.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/easylist_pac.py b/easylist_pac.py index 9823817..b8591bb 100644 --- a/easylist_pac.py +++ b/easylist_pac.py @@ -47,7 +47,7 @@ **{'fontset': 'custom', 'rm': 'sans:bold', 'bf': 'sans:bold', 'it': 'sans:italic', 'sf': 'sans:bold', 'default': 'it'}) # plt.rc('text',usetex=False) # [default] usetex should be False - mpl.rcParams['text.latex.preamble'] = [r'\\usepackage{amsmath,sfmath} \\boldmath'] + mpl.rcParams['text.latex.preamble'] = r'\\usepackage{amsmath,sfmath} \\boldmath' except ImportError as e: plot_flag = False print(e)