Skip to content

Commit

Permalink
test fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
pcastellanoescuder committed Dec 15, 2023
1 parent e1c3458 commit a062d3e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: ddh
Type: Package
Title: Utility Functions and Data Sets for Data-driven Hypothesis
Version: 0.3.14
Version: 0.3.15
Authors@R: c(
person(given = "Matthew",
family = "Hirschey",
Expand Down
8 changes: 4 additions & 4 deletions R/plots.R
Original file line number Diff line number Diff line change
Expand Up @@ -565,9 +565,9 @@ make_protein_domain <- function(input = list(),
ggplot2::theme_void() +
ggplot2::theme(
legend.title = ggplot2::element_blank(),
strip.text = ggplot2::element_text(family = "Chivo", hjust = 0.5, size = 15),
plot.title = ggplot2::element_text(family = "Chivo", hjust = 0.5, size = 15),
text = ggplot2::element_text(family = "Nunito Sans"),
strip.text = ggplot2::element_text(family = "Roboto Slab", hjust = 0.5, size = 15),
plot.title = ggplot2::element_text(family = "Roboto Slab", hjust = 0.5, size = 15),
text = ggplot2::element_text(family = "Roboto Slab"),
legend.text = ggplot2::element_text(size = 15),
axis.text = ggplot2::element_blank(),
axis.ticks = ggplot2::element_blank()
Expand All @@ -577,7 +577,7 @@ make_protein_domain <- function(input = list(),
plot_complete <-
base_plot +
ggplot2::theme(axis.text.x = ggplot2::element_text(family = "Roboto Slab", size = 14),
axis.title.x = ggplot2::element_text(family = "Nunito Sans", size = 18,
axis.title.x = ggplot2::element_text(family = "Roboto Slab", size = 18,
margin = ggplot2::margin(t = 12, b = 12)),
legend.position = "right") +
scale_fill_ddh_d(palette = "protein")
Expand Down

0 comments on commit a062d3e

Please sign in to comment.