hadley/ggplot2 — Issue #413: geom_dotplot does not respect `color = ` argument
Author: briandk
Created: 2012-02-25 21:09:17+00:00
State: open

*As of* 91d9ee9

Broken British-ism: `geom_dotplot()` should be fine taking and respecting arguments whether they are spelled `color`, or `colour`, but only the latter works.

```r
# Big red dots (for comparison)
p <- ggplot()
p + geom_point(aes(x = cty, y = hwy),
data = mpg,
color = "red",
size = 4
)
```

![Big red dots](http://briandk.com/screenshots/BigRedDots-20120225-160217.png)

```r
# geom_dotplot fails to respect a "color" argument
p <- ggplot()
p + geom_dotplot(aes(x = hwy),
data = mpg,
color = "red",
binwidth = 1.5
)
```

![geom_dotplot with no red color](http://briandk.com/screenshots/geomDotplotNoColor-20120225-160409.png)

```r
# geom_dotplot *does* respect a "colour" argument
p <- ggplot()
p + geom_dotplot(aes(x = hwy),
data = mpg,
colour = "red",
binwidth = 1.5
)
```

![geom dotplot respects colour argument](http://briandk.com/screenshots/GeomDotplotWithRedColor-20120225-160555.png)

-----

Here's my `sessionInfo()` output in case it's something wacky on my end

```
> sessionInfo()
R version 2.14.2 RC (2012-02-23 r58468)
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)

locale:
[1] C/en_US.UTF-8/C/C/C/C

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] ggplot2_0.9.0

loaded via a namespace (and not attached):
[1] MASS_7.3-17 RColorBrewer_1.0-5 colorspace_1.1-1 dichromat_1.2-4
[5] digest_0.5.1 grid_2.14.2 memoise_0.1 munsell_0.3
[9] plyr_1.7.1 proto_0.3-9.2 reshape2_1.2.1 scales_0.1.0
[13] stringr_0.6 tools_2.14.2
```

/cc @wch