Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
huong-li-nguyen committed Apr 8, 2024
1 parent debbe65 commit c9060d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ Uncomment the section that is right (remove the HTML comment wrapper).

- Change default continuous color scale to `SEQUENTIAL_CYAN´. ([#407](https://github.com/mckinsey/vizro/pull/407))


<!--
### Deprecated
Expand Down
6 changes: 3 additions & 3 deletions vizro-core/src/vizro/_themes/_templates/template_dark.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ def create_template_dark() -> Template:
template_dark["layout"]["coloraxis"]["colorbar"]["tickcolor"] = COLORS["WHITE_30"]
template_dark["layout"]["coloraxis"]["colorbar"]["tickfont"]["color"] = COLORS["WHITE_55"]
template_dark["layout"]["coloraxis"]["colorbar"]["title"]["font"]["color"] = COLORS["WHITE_55"]
# Applied when data for color is positive and negative
# Diverging, sequential and sequentialminus colorscale will only be applied automatically if
# `coloraxis_autocolorscale=True`. Otherwise, they have no effect, and the default for continuous color scales
# will be the color sequence applied to ["colorscale"]["sequential"].
template_dark["layout"]["colorscale"]["diverging"] = COLORS["DIVERGING_RED_CYAN"]
# Applied when data for color is positive
template_dark["layout"]["colorscale"]["sequential"] = COLORS["SEQUENTIAL_CYAN"]
# Applied when data for color is positive
template_dark["layout"]["colorscale"]["sequentialminus"] = COLORS["SEQUENTIAL_RED"][::-1]
template_dark["layout"]["colorway"] = COLORS["DISCRETE_10"]

Expand Down

0 comments on commit c9060d0

Please sign in to comment.