Skip to content

Commit c692677

Browse files
authored
Merge pull request #11334 from dstansby/10858-backport
Backport pull request #10858
2 parents 1308b2b + bb14887 commit c692677

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/font_manager.py

Lines 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)