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 bb14887

Browse filesBrowse files
tacaswelldstansby
authored andcommitted
Merge pull request #10858 from jklymak/fix-ioerror-font-cache
FIX: ioerror font cache, second try
1 parent 89fc4e4 commit bb14887
Copy full SHA for bb14887

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/font_manager.py

Copy file name to clipboardExpand all lines: lib/matplotlib/font_manager.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -976,7 +976,7 @@ def json_dump(data, filename):
976976
try:
977977
json.dump(data, fh, cls=JSONEncoder, indent=2)
978978
except IOError as e:
979-
warnings.warn('Could not save font_manager cache ', e)
979+
warnings.warn('Could not save font_manager cache {}'.format(e))
980980

981981
def json_load(filename):
982982
"""Loads a data structure as JSON from the named file.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.