numeraire_graphics.theme_numeraire#
- numeraire_graphics.theme_numeraire(base_size: float = 8.0, base_family: str = 'serif', x_axis_rotation: float = 0.0, grid: str = 'none') plotnine.theme[source]#
The house theme: a clean, publication-oriented look on a matplotlib base.
base_size(points) andbase_familyset the typographic defaults; 8pt serif suits a single-column journal figure.x_axis_rotation(degrees) is the rotation hook for the x-axis tick labels — 0 by default (the smart date axis keeps them short), raise it (e.g. 30–45) as a fallback when a categorical or dense axis still crowds. Returns a plotninethemeto add onto any plot.gridselects which panel gridlines are drawn:"none"(default — a clean, grid-free panel, which also keeps the weight heatmap’s tiled surface free of any row/column rules),"y"(horizontal value guides for a line/bar reader),"x", or"both". The vertical (x) grid is never drawn over a date/tile axis unless you explicitly ask for it.Beyond the typography this pins the publication defaults plotnine otherwise leaves to its matplotlib base: a flat light facet strip (no heavy grey block), a bottom legend with no key background, sized axis text, breathing room between facet panels, and a small plot margin — so a figure looks intentional straight out of the builder without hand-tuning.