Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d22f626 commit df6b560Copy full SHA for df6b560
lib/matplotlib/texmanager.py
@@ -203,6 +203,9 @@ def __init__(self):
203
'default.' % ff, 'helpful')
204
setattr(self, font_family_attr, self.font_info[font_family])
205
fontconfig.append(getattr(self, font_family_attr)[0])
206
+ # Add a hash of the latex preamble to fontconfig
207
+ preamble_bytes = six.text_type(self.get_custom_preamble()).encode('utf-8')
208
+ fontconfig.append(md5(preamble_bytes).hexdigest())
209
self._fontconfig = ''.join(fontconfig)
210
211
# The following packages and commands need to be included in the latex
0 commit comments