You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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:
I would suggest introducing a Chart.withTheme extension that is part of a seperate theme module. I will have a go at this.
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:
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.
The text was updated successfully, but these errors were encountered: