Description Usage Details Value Examples
Style a tile chart similar to those on GitHub profiles.
1 |
theme_github
implements the standard green tile chart as
seen on GitHub profiles. Alternatively, uses a different color scheme
in the style of another popular site, e.g. twitter, stackoverflow.
An object of class theme
.
1 2 3 4 5 6 7 8 | ## Not run:
library("ggplot2")
## get data
p <- ggplot(commit_data) + geom_tile(aes(x=c.week, y=c.day)) + theme_github()
## Twitter colors
p + theme_github(alt="Twitter")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.