nstat.get_plot_style

nstat.get_plot_style(default='modern')[source]

Return the persisted global plotting style.

Falls back to default when no persisted file exists or when the file contains a value outside the known {legacy, modern} set. Reads the user-config location first, then the legacy in-package location (for back-compat with pre-v0.3.1 installs).

Parameters:

default (str)

Return type:

str