Skip to content

Variable: THEMES ​

ts
const THEMES: object;

Every built-in theme by its registered name.

Type Declaration ​

NameTypeDefault valueDescription
ggplot2Template-R's ggplot2 look: grey panel, white grid, ggplot's hue palette.
gridonTemplate-Grid lines on both axes, e.g. 'simple_white+gridon'.
high-contrastTemplatehighContrast-
high-contrast-darkTemplatehighContrastDark-
holochartTemplate-The default look (ADR-021), applied to every figure without layout.template: a dark, dense chart with a #0a0a0f background, 9 px Helvetica Neue text, tight margins, a horizontal legend above the plot area and the "neon plasma" sequential colorscale. The same object as core's holochartTemplate, which the runtime registers in every bundle.
holochart-darkTemplateholochartDarkDeprecated An alias of holochart (ADR-021).
neonTemplate-The glow showcase: saturated neon hues on a near-black indigo background, a faint cyan grid, a magenta zero line, and a luminous title halo (title.font.shadow). Markers and bars get a thin white-hot rim and lines are 2.5 px, which reads as a glowing core. Approximation: the plan's 3D glow is a bloom post-processing pass (E8.12), which does not exist yet; in 2D the glow is approximated by the rims, the text halo and the palette's luminance against the dark background. When bloom lands, this template turns it on. Colorscales are interpolated in Oklab (colorscaleInterpolation), which keeps the neon ramps bright through their midpoints.
noneTemplate-The empty template: the library's schema defaults (Plotly's look), as with layout.template: null. The same object as core's noneTemplate, which every bundle registers.
plotlyTemplate-plotly.py's default template: blue-grey plot area, white grid, the Plotly colorway, Plasma.
plotly_darkTemplate-plotly.py's dark template: near-black background, slate grid, light text.
plotly_whiteTemplate-plotly on white, with light blue-grey grid lines.
plotly-classicTemplateplotlyClassic-
presentationTemplate-Larger text and thicker lines for slides (compose it: 'plotly_white+presentation'): 18 px base font, 3 px lines, 9 px markers, taller table rows.
seabornTemplate-Python seaborn's "darkgrid" look: lavender-grey panel, white grid, the deep palette.
simple_whiteTemplate-Minimal white template: no grid, dark axis lines with outside ticks, D3 colors, Viridis.
xgridoffTemplate-No vertical grid lines (compose it with another template).
ygridoffTemplate-No horizontal grid lines (compose it with another template).

Released under the MIT License.