Skip to content

Commit 39e36f5

Browse files
authored
Merge pull request #190 from stan-dev/brewer-palettes
Add ColorBrewer palettes
2 parents 58e3618 + d44b9e5 commit 39e36f5

13 files changed

+455
-224
lines changed

DESCRIPTION

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ Suggests:
3434
gridExtra (>= 2.2.1),
3535
knitr (>= 1.16),
3636
loo (>= 2.0.0),
37+
RColorBrewer,
3738
rmarkdown (>= 1.0.0),
3839
rstan (>= 2.17.1),
3940
rstanarm (>= 2.17.4),

NEWS.md

+6
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66

77
<!-- Items for next release go here* -->
88

9+
* [ColorBrewer](http://colorbrewer2.org) palettes are now available as color
10+
schemes via
11+
[`color_scheme_set()`](https://mc-stan.org/bayesplot/reference/bayesplot-colors.html).
12+
For example, `color_scheme_set("brewer-Spectral")` will use the Spectral
13+
palette. (#177, #190)
14+
915
* MCMC plots now also accept objects with an `as.array` method as
1016
input (e.g., stanfit objects). (#175, #184)
1117

0 commit comments

Comments
 (0)