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 501b907 commit 333591dCopy full SHA for 333591d
lib/matplotlib/style/core.py
@@ -30,8 +30,7 @@
30
_here = os.path.abspath(os.path.dirname(__file__))
31
BASE_LIBRARY_PATH = os.path.join(_here, 'stylelib')
32
# Users may want multiple library paths, so store a list of paths.
33
-USER_LIBRARY_PATHS = [os.path.join('~', '.matplotlib', 'stylelib'),
34
- os.path.join('~', '.config', 'matplotlib', 'stylelib')]
+USER_LIBRARY_PATHS = [os.path.join(mpl._get_configdir(), 'stylelib')]
35
STYLE_EXTENSION = 'mplstyle'
36
STYLE_FILE_PATTERN = re.compile('([\S]+).%s$' % STYLE_EXTENSION)
37
0 commit comments