Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Sequential/Diverging defaults

See original GitHub issue

colorway is going to be a very useful parameter for the new Themes feature of Chart Studio, because by setting just that attribute and saving it in a template, one will be able to provide custom defaults for colors of new traces, plus pie charts.

I think it will be necessary to add the equivalent custom defaults for sequential and diverging colorscales (overriding the current built-in default white-to-red and blue-to-white-to-red that appear when you first try to color by data in the editor), such that a template can specify just these three to prepopulate the default colors in all three modes: categorical, sequential and diverging.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:17 (17 by maintainers)

github_iconTop GitHub Comments

etpinardcommented, Nov 20, 2018
  • layout.colorscale.sequential
  • layout.colorscale.sequentialminus (similar to error bar’s arrayminus)
  • layout.colorscale.diverging
nicolaskruchtencommented, Nov 22, 2018

@archmoj these are just for defaults… you can definitely reverse the colorscale, there’s a different parameter for that 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Understanding Sequential and Diverging Color Palettes in ...
Diverging Palettes Defined​​ By default, the center of the spectrum is at zero and the end colors are at equal distances from zero....
Read more >
When to Use Sequential and Diverging Palettes
In contrast to a sequential palette, a diverging palette ranges between three or more colours with the different colours being quite distinct ( ......
Read more >
HCL-based color palettes - Colorspace
Diverging : Designed for coding ordered/numeric information around a central neutral value, i.e., where colors diverge from neutral to two extremes.
Read more >
Sequential, diverging and qualitative colour scales ... - ggplot2
The brewer scales provide sequential, diverging and qualitative colour schemes ... If 1, the default, colours are as output by RColorBrewer::brewer.pal() .
Read more >
Nominal, Sequential, or Diverging? Simple Strategies for ...
Here are some simple strategies for communicating clearly with chart color. Strategy 1: Select a Custom Color Palette. Rather than using Excel's default...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found