Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0086ed0

Browse filesBrowse files
committed
Minor fix to check on text.latex.preamble.
Don't warn via the verbose system when text.latex.preamble is an empty list (rather than a list containing an empty string). Run the simple_plot.py example with the --verbose-helpful flag to see the difference.
1 parent eb6e422 commit 0086ed0
Copy full SHA for 0086ed0

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎lib/matplotlib/__init__.py

Copy file name to clipboardExpand all lines: lib/matplotlib/__init__.py
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.