File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change 1111import matplotlib .style as mpls
1212from loam .cli import CLIManager , Subcmd
1313
14+ from . import __doc__ as doc_module
1415from . import (
15- ISOLATED ,
1616 _styles ,
1717 commands ,
1818 conf ,
19- config ,
2019 field ,
2120 plates ,
2221 refstate ,
2322 rprof ,
2423 time_series ,
2524)
26- from . import __doc__ as doc_module
2725from ._helpers import baredoc
2826from .config import CONFIG_DIR
2927
@@ -47,11 +45,6 @@ def _load_mplstyle() -> None:
4745 """Try to load conf.plot.mplstyle matplotlib style."""
4846 for style in conf .plot .mplstyle :
4947 style_fname = style + ".mplstyle"
50- if not ISOLATED :
51- stfile = config .CONFIG_DIR / style_fname
52- if stfile .is_file ():
53- mpls .use (str (stfile ))
54- continue
5548 # try packaged version
5649 if imlr .is_resource (_styles , style_fname ):
5750 with imlr .path (_styles , style_fname ) as stfile :
You can’t perform that action at this time.
0 commit comments