lockedata / lockeutils

Utils R package for the Locke Data team :art: :chart:
Other
1 stars 0 forks source link

ggplot2 theme #1

Closed maelle closed 6 years ago

maelle commented 6 years ago

From @stephlocke

maelle commented 6 years ago

I'm not sure I understand what bold and chunky means here if we're to use Roboto Thin 🤔

maelle commented 6 years ago

Update:

maelle commented 6 years ago
library("ggplot2")
library("lockeutils")
df <- data.frame(
  gp = factor(rep(letters[1:3], each = 10)),
  y = rnorm(30)
)
ggplot(df, aes(gp, y)) +
  geom_point() +
  ggtitle("wow",
          subtitle = "nice") +
  theme_ld()


ggplot(df, aes(gp, y)) +
  geom_point() +
  ggtitle("wow",
          subtitle = "nice") +
  theme_ld(base_size = 15)

Created on 2018-09-24 by the reprex package (v0.2.0).

stephlocke commented 6 years ago

Cool, I like minimal stuff by default and I prefer bigger fonts rather than smaller typically as it's kinder on people with visual impairments and/or high res screens

maelle commented 6 years ago

Ok will increase base_size.