def load_mplstyle():
plt = importlib.import_module('<STR_LIT>')<EOL>if conf.plot.mplstyle:<EOL><INDENT>for style in conf.plot.mplstyle.split():<EOL><INDENT>stfile = config.CONFIG_DIR / (style + '<STR_LIT>')<EOL>if stfile.is_file():<EOL><INDENT>style = str(stfile)<EOL><DEDENT>try:<EOL><INDENT>plt.style.use(style)<EOL><DEDENT>except OSError:<EOL><INDENT>print('<STR_LIT>'.format(style),<EOL>file=sys.stderr)<EOL>conf.plot.mplstyle = '<STR_LIT>'<EOL><DEDENT><DEDENT><DEDENT>if conf.plot.xkcd:<EOL><INDENT>plt.xkcd()<EOL><DEDENT>
Try to load conf.plot.mplstyle matplotlib style.