Browse code

update theme_tree2

git-svn-id: https://hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/ggtree@114267 bc3139a8-67e5-0310-9ffc-ced21a209358

g.yu authored on 05/03/2016 13:49:32
Showing 2 changed files

  • NEWS index 797d523..4694e8a 100644
  • R/theme.R index fc5e31a..b67adff 100644
... ...
@@ -1,5 +1,6 @@
1 1
 CHANGES IN VERSION 1.3.14
2 2
 ------------------------
3
+ o update theme_tree2 due to the issue of https://github.com/hadley/ggplot2/issues/1567 <2016-03-05, Sat>
3 4
  o offset works in `align=FFALSE` with `annotation_image` function <2016-02-23, Tue>
4 5
    + see https://github.com/GuangchuangYu/ggtree/issues/46
5 6
  o subview and inset now supports annotating with img files <2016-02-23, Tue>
... ...
@@ -65,6 +65,7 @@ theme_tree2_internal <- function(bgcolor="white", fgcolor="black", ...) {
65 65
           panel.background=element_rect(fill=bgcolor, colour=bgcolor),
66 66
           panel.border=element_blank(),
67 67
           axis.line=element_line(color=fgcolor),
68
+          axis.line.x=element_line(),
68 69
           axis.line.y=element_blank(),
69 70
           axis.ticks.y=element_blank(),
70 71
           axis.text.y=element_blank(),