Skip to content

Commit

Permalink
change to pinkyellowgreen
Browse files Browse the repository at this point in the history
  • Loading branch information
mattijn committed Dec 16, 2023
1 parent a396ac2 commit 949da81
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/examples_arguments_syntax/histogram_gradient_color.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Histogram with Gradient Color
-----------------------------
This example shows how to make a histogram with gradient color.
The low-high IMDB rating is represented with the color scheme `redyellowgreen`.
The low-high IMDB rating is represented with the color scheme `pinkyellowgreen`.
"""
# category: distributions
import altair as alt
Expand All @@ -18,6 +18,6 @@
alt.Y('count()'),
alt.Color("IMDB_Rating:Q",
bin=alt.Bin(maxbins=20),
scale=alt.Scale(scheme='redyellowgreen')
scale=alt.Scale(scheme='pinkyellowgreen')
)
)
4 changes: 2 additions & 2 deletions tests/examples_methods_syntax/histogram_gradient_color.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Histogram with Gradient Color
-----------------------------
This example shows how to make a histogram with gradient color.
The low-high IMDB rating is represented with the color scheme `redyellowgreen`.
The low-high IMDB rating is represented with the color scheme `pinkyellowgreen`.
"""
# category: distributions
import altair as alt
Expand All @@ -13,5 +13,5 @@
alt.Chart(source).mark_bar().encode(
alt.X("IMDB_Rating:Q").bin(maxbins=20).scale(domain=[1, 10]),
alt.Y('count()'),
alt.Color("IMDB_Rating:Q").bin(maxbins=20).scale(scheme='redyellowgreen')
alt.Color("IMDB_Rating:Q").bin(maxbins=20).scale(scheme='pinkyellowgreen')
)

0 comments on commit 949da81

Please sign in to comment.