Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bb1435b

Browse files
authored
Merge pull request #8713 from anntzer/minor-verbose-fix
Minor fix to check on text.latex.preamble.
2 parents eb6e422 + 0086ed0 commit bb1435b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1115,7 +1115,7 @@ def rc_params_from_file(fname, fail_on_error=False, use_default_template=True):
11151115
if config['datapath'] is None:
11161116
config['datapath'] = get_data_path()
11171117

1118-
if not config['text.latex.preamble'] == ['']:
1118+
if "".join(config['text.latex.preamble']):
11191119
verbose.report("""
11201120
*****************************************************************
11211121
You have the following UNSUPPORTED LaTeX preamble customizations:

0 commit comments

Comments
 (0)