File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -140,8 +140,8 @@ locations, in the following order:
140
140
141
141
3. It next looks in a user-specific place, depending on your platform:
142
142
143
- - On Linux, it looks in :file: `.config/matplotlib/matplotlibrc ` (or
144
- `$XDG_CONFIG_HOME/matplotlib/matplotlibrc `) if you've customized
143
+ - On Linux and FreeBSD , it looks in :file: `.config/matplotlib/matplotlibrc `
144
+ (or `$XDG_CONFIG_HOME/matplotlib/matplotlibrc `) if you've customized
145
145
your environment.
146
146
147
147
- On other platforms, it looks in :file: `.matplotlib/matplotlibrc `.
Original file line number Diff line number Diff line change @@ -645,7 +645,7 @@ def _get_config_or_cache_dir(xdg_base):
645
645
h = get_home ()
646
646
if h is not None :
647
647
p = os .path .join (h , '.matplotlib' )
648
- if sys .platform .startswith ('linux' ):
648
+ if sys .platform .startswith ('linux' ) or sys . platform . startswith ( 'freebsd' ) :
649
649
p = None
650
650
if xdg_base is not None :
651
651
p = os .path .join (xdg_base , 'matplotlib' )
You can’t perform that action at this time.
0 commit comments