Skip to content

Commit

Permalink
better label alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
vladpetyuk committed Nov 2, 2023
1 parent e11ebe5 commit 82103ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/plot_fns.R
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ plot_accession_ptm <- function (x,
limits = if (max(prot$ymax) < 0.5) c(0, 0.5) else NULL
) +
ggplot2::theme(
axis.text.x = ggplot2::element_text(angle = 90, vjust = 0.5),
axis.text.x = ggplot2::element_text(angle = 90, vjust = 0.5, hjust = 1),
plot.title = ggplot2::element_text(hjust = 0.5, size = 16)
) +
ggplot2::ggtitle(prot_name)
Expand Down

0 comments on commit 82103ef

Please sign in to comment.