Skip to content

Variable: plotlyClassic ​

ts
const plotlyClassic: Template = plotlyClassicTemplate;

Plotly's look, spelled out (ADR-021): white paper and plot area, #444 text in Open Sans 12 px, the D3 category10 colorway, a light #eee grid, and Plotly's automatic colorscales (Reds, Blues, RdBu). Applying it renders exactly what none renders: charts as Plotly draws them and as Holochart drew them before the default look. setDefaultTemplate('plotly-classic') makes it the default. Use it as the base of a light custom theme: composeTemplates(plotlyClassic, { … }). The same object as core's plotlyClassicTemplate.

Released under the MIT License.