calamari.style.rc#
- calamari.style.rc(spec, *, width='single', look=None, height_cm=None)#
The rcParams for a journal and look, as a plain dict.
This is the whole style;
use(),context()andfigure()are thin wrappers over it. Returned as a dict so it can be inspected, diffed, or merged with a caller’s own overrides ({**calamari.style.rc("prb"), "lines.linewidth": 1.5}).- Parameters:
spec (
str) –"jpcm","prb", an alias, or"journal:look".width (
str|float) – Figure width – one column, the full text width, or a value in cm (for a 1.5-column APS figure, say).look (
str|None) – Look name; overrides the journal’s default. Equivalent to the:looksuffix.height_cm (
float|None) – Figure height in cm. Default iswidth / DEFAULT_ASPECT.
- Return type:
- Returns:
dict– Keys and values acceptable tomatplotlib.rcParams.update.