Skip to content

Commit

Permalink
fix deprecation warning when using element_lines()
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-raden committed Feb 13, 2025
1 parent 05a5a9b commit 8004dd4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,16 @@

# IntaRNA

# IntaRNA_plotRegions.R

- fix deprecation warning

################################################################################
################################################################################


250213 Martin Raden
* R/IntaRNA_plotRegions.R
* fix deprecation warning when using element_lines() with ggplot >= 3.4.0

################################################################################
### version 3.4.1
Expand Down
2 changes: 1 addition & 1 deletion R/IntaRNA_plotRegions.R
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ regionPlot =
ylab("") +
scale_y_discrete(position = "right", breaks=dRegion$idx, labels=dRegion$id) +
geom_vline(aes(xintercept=(xmin))) +
theme(panel.grid.major.y=element_line(size=0.7,color="lightgray")
theme(panel.grid.major.y=element_line(linewidth=0.7,color="lightgray")
, axis.text.y=element_text(size=rel(yLabelScale))
#, plot.title = element_blank()
)
Expand Down

0 comments on commit 8004dd4

Please sign in to comment.