nstat.set_plot_style

nstat.set_plot_style(style='modern')[source]

Persist the plotting style for future sessions.

Writes to ~/.config/nstat/plot_style (or $XDG_CONFIG_HOME / $NSTAT_STYLE_FILE) so a pip-installed package can be configured without write access to its install directory.

Parameters:

style (str)

Return type:

str