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 37502fa commit 6d2d934Copy full SHA for 6d2d934
1 file changed
galleries/examples/misc/logos2.py
@@ -24,6 +24,7 @@ def get_font_properties():
24
if 'calibri' in matplotlib.font_manager.findfont('Calibri:bold').lower():
25
return matplotlib.font_manager.FontProperties(family='Calibri',
26
weight='bold')
27
+ # Our website documentation uses Carlito because Calibri is proprietary.
28
if 'carlito' in matplotlib.font_manager.findfont('Carlito:bold').lower():
29
print('Original font not found. Falling back to Carlito. '
30
'The logo text will not be in the correct font.')
0 commit comments