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 @@ -639,7 +639,7 @@ def _get_config_or_cache_dir(xdg_base):
639
639
h = get_home ()
640
640
if h is not None :
641
641
p = os .path .join (h , '.matplotlib' )
642
- if ( sys .platform .startswith ('linux' ) and xdg_base ) :
642
+ if sys .platform .startswith (( 'linux' , 'freebsd' )) and xdg_base :
643
643
p = os .path .join (xdg_base , 'matplotlib' )
644
644
645
645
if p is not None :
You can’t perform that action at this time.
0 commit comments