simplebench.reporters.graph.matplotlib.theme.base module🔗
MatPlotLib Theme implementation.
Provides a base class for MatPlotLib themes used in SimpleBench graphs.
- class simplebench.reporters.graph.matplotlib.theme.base.Theme( )[source]🔗
Bases:
RcParamsAn immutable MatPlotLib base theme class for the graphs.
This is a subclass of
matplotlib.RcParamsthat represents a theme for Matplotlib graphs. It can be used to define custom styles for Matplotlib graphs generated by SimpleBench.See Customizing Matplotlib with style sheets and rcParams for more information on customizing Matplotlib themes.
Initialize a
Themeinstance.- Parameters:
rcparams (dict[str, Any] | None) – The rcParams to use for the theme. If
None, the default Matplotlib rcParams will be used.