Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Open
Description
Documentation Link
https://matplotlib.org/stable/tutorials/introductory/customizing.html
Problem
Based on
#svg.fonttype: path # How to handle SVG fonts: # path: Embed characters as paths -- supported # by most SVG renderers # None: Assume fonts are installed on the # machine where the SVG will be viewed.
I tried to make a style sheet includingsvg.fonttype: None
but when I didimport matplotlib.pyplot as plt
I got this error:
Bad value in file PosixPath('/Users/Elizabeth/.matplotlib/stylelib/EJM-modified_seaborn-white.mplstyle'), line 35 ('svg.fonttype: None # How to handle SVG fonts:'): Key svg.fonttype: 'None' is not a valid value for svg.fonttype; supported values are ['none', 'path']
Suggested improvement
I think that the 'N' in "None" should be lowercase, and also I find that it needing to be lowercase in this situation is confusing because in the next propertysvg.hashsalt: None
n is indeed capitalized