Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 07aff06 + d5a0e5d commit 349ff97Copy full SHA for 349ff97
2 files changed
lib/matplotlib/__init__.py
@@ -1450,6 +1450,7 @@ def tk_window_focus():
1450
'matplotlib.tests.test_subplots',
1451
'matplotlib.tests.test_table',
1452
'matplotlib.tests.test_text',
1453
+ 'matplotlib.tests.test_texmanager',
1454
'matplotlib.tests.test_ticker',
1455
'matplotlib.tests.test_tightlayout',
1456
'matplotlib.tests.test_transforms',
lib/matplotlib/tests/test_texmanager.py
@@ -14,7 +14,7 @@ def test_fontconfig_preamble():
14
tm1 = TexManager()
15
font_config1 = tm1.get_font_config()
16
17
- plt.rcParams['text.latex.preamble'] = [r'\usepackage{txfonts}']
+ plt.rcParams['text.latex.preamble'] = ['\\usepackage{txfonts}']
18
tm2 = TexManager()
19
font_config2 = tm2.get_font_config()
20
0 commit comments