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

Skip to content

Commit e219883

Browse files
authored
Merge pull request #10181 from anntzer/cleanup-texmanager
Cleanup texmanager.
2 parents cc684c2 + 1d3a628 commit e219883

3 files changed

Lines changed: 146 additions & 242 deletions

File tree

lib/matplotlib/backends/backend_pdf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -686,8 +686,8 @@ def dviFontName(self, dvifont):
686686
psfont = self.texFontMap[dvifont.texname]
687687
if psfont.filename is None:
688688
raise ValueError(
689-
("No usable font file found for {0} (TeX: {1}). "
690-
"The font may lack a Type-1 version.")
689+
"No usable font file found for {} (TeX: {}); "
690+
"the font may lack a Type-1 version"
691691
.format(psfont.psname, dvifont.texname))
692692

693693
pdfname = Name('F%d' % self.nextFont)

0 commit comments

Comments
 (0)