Skip to content

Add Axis style templates #14

Closed
Closed

Description

@kMutagene

A huge chunk of styling the charts is applying styles to the axes. While depending on personal preferences, this is more or less the same process every time for the respective chart types. Adding a few templates can greatly reduce bulk styling work done on axes.

Activity

  1. self-assigned this
    on Jan 15, 2019
  2. kMutagene commented on Jun 15, 2020

    @kMutagene
    CollaboratorAuthor

    related : #30

  3. added this to the Backlog milestone on Jun 15, 2020
  4. added
    Area: MissingAbstraction
    and removed on Jun 15, 2020
  5. modified the milestones: Backlog, 2.0 on Dec 10, 2020
  6. kMutagene commented on Dec 10, 2020

    @kMutagene
    CollaboratorAuthor

    This issue seems a little more important now that interactive notebook development will most likely take place in VSCode, where many people use dark themes that make the standard plot style seem very out of place:

    image

    I would suggest introducing a Chart.withTheme extension that is part of a seperate theme module. I will have a go at this.

  7. kMutagene commented on Dec 11, 2020

    @kMutagene
    CollaboratorAuthor

    I implemented chart templates using the templating engine that plotly.js is using internally. It is basically an object containing a layout and data(trace array) that will apply the style properties to the plots via the Chart.withTemplate function. Presets are available in the ChartTemplates module. Here is an example that shows darkmode usage in a dotnet interactive notebook in vscode:

    image

  8. added a commit that references this issue on Mar 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Area: MissingAbstractionType: Enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions