Skip to content

Themes #630

Open
Open
Themes#630
@mkfreeman

Description

@mkfreeman

To support different styles, we could create a set of plot themes (e.g., dark, light, etc.). As a comparison, the ggthemes package has default styles to emulate popular styles like the Wallstreet Journal, FiveThirtyEight, etc.

Perhaps a simple approach would be to define a set of styles in Plot.themes that could be set as the style property in a Plot:

Plot.plot({
    style: Plot.themes.dark
})

Where Plot.themes.dark has a set of key/value pairs describing the style: {background: "black", color: "white",...}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions