Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes
autocolorscale
Closes #1454 by turning off
autocolorscale
in heatmap (and related) trace templates and setting the colorscale to the theme colorscale. See plotly/plotly.js#3829 for discussion.default colorscale
Closes #1274 setting default sequential colorscale to plasma.
colorway
Closes #1508 by reordering template colorway to improve contrast. Also slightly lighten the former 6th color in the colorway (Plotly brand "Lavender") to improve contrast with the former 4th color (Plotly brand "Lavender shade").
Before: https://projects.susielu.com/viz-palette?colors=[%22#636efa%22,%22#EF553B%22,%22#00cc96%22,%22#ab63fa%22,%22#19d3f3%22,%22#e763fa%22,%22#FECB52%22,%22#FFA15A%22,%22#FF6692%22,%22#B6E880%22]&backgroundColor=%22#ffffff%22&fontColor=%22black%22
After: https://projects.susielu.com/viz-palette?colors=[%22#636efa%22,%22#EF553B%22,%22#00cc96%22,%22#ab63fa%22,%22#FFA15A%22,%22#19d3f3%22,%22#FF6692%22,%22#B6E880%22,%22#ff97ff%22,%22#FECB52%22]&backgroundColor=%22#ffffff%22&fontColor=%22black%22&mode=%22normal%22
future flag
The default colorscale and colorway changes are only in effect when using the built-in
plotly
,plotly_white
, andplotly_dark
templates if thetemplate_defaults
(orv4
) future flag is activated. E.g.The intention is for this to become the default behavior in plotly.py version 4.
v3 template plotly template examples
v4 template plotly template examples (candidate default)