simplebench.reporters.graph.matplotlib.theme package🔗
Themes for Matplotlib graphs.
It consists of the base Theme class and instances of defined themes.
Custom themes can be created either by creating Theme instances directly or by using the .replace() method of existing Theme instances to override specific rcParams.
- class simplebench.reporters.graph.matplotlib.theme.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.