Skip to content

Commit

Permalink
complete switch back to the default barheight
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinsimpson committed Nov 21, 2024
1 parent 772f06e commit ea44b11
Show file tree
Hide file tree
Showing 8 changed files with 80 additions and 80 deletions.
8 changes: 4 additions & 4 deletions R/draw-methods.R
Original file line number Diff line number Diff line change
Expand Up @@ -940,8 +940,8 @@
plt <- plt +
guides(fill = guide_colourbar(
title = "Partial effect",
direction = "vertical",
barheight = grid::unit(0.25, "npc")
direction = "vertical"#,
#barheight = grid::unit(0.25, "npc")
))

# if isotropic smooth, fix aspect ratio
Expand Down Expand Up @@ -1254,8 +1254,8 @@
plt <- plt +
guides(fill = guide_colourbar(
title = "Difference",
direction = "vertical",
barheight = grid::unit(0.25, "npc")
direction = "vertical"#,
#barheight = grid::unit(0.25, "npc")
))

plt
Expand Down
20 changes: 10 additions & 10 deletions R/smooth-estimates.R
Original file line number Diff line number Diff line change
Expand Up @@ -1620,8 +1620,8 @@
guides(
fill = guide_colourbar(
title = guide_title,
direction = "vertical",
barheight = grid::unit(5, "lines") #grid::unit(0.25, "npc")
direction = "vertical"#,
#barheight = grid::unit(5, "lines") #grid::unit(0.25, "npc")
),
x = guide_axis(angle = angle)
)
Expand Down Expand Up @@ -1765,8 +1765,8 @@
guides(
fill = guide_colourbar(
title = guide_title,
direction = "vertical",
barheight = grid::unit(5, "lines") #grid::unit(0.25, "npc")
direction = "vertical"#,
#barheight = grid::unit(5, "lines") #grid::unit(0.25, "npc")
),
x = guide_axis(angle = angle)
)
Expand Down Expand Up @@ -1928,8 +1928,8 @@
guides(
fill = guide_colourbar(
title = guide_title,
direction = "vertical",
barheight = grid::unit(5, "lines") #grid::unit(0.25, "npc")
direction = "vertical"#,
#barheight = grid::unit(5, "lines") #grid::unit(0.25, "npc")
),
x = guide_axis(angle = angle)
)
Expand Down Expand Up @@ -2550,8 +2550,8 @@
plt <- plt +
guides(
fill = guide_colourbar(
title = guide_title, direction = "vertical",
barheight = grid::unit(5, "lines") #grid::unit(0.25, "npc")
title = guide_title, direction = "vertical"#,
#barheight = grid::unit(5, "lines") #grid::unit(0.25, "npc")
),
x = guide_axis(angle = angle)
)
Expand Down Expand Up @@ -2694,8 +2694,8 @@
guides(
fill = guide_colourbar(
title = guide_title,
direction = "vertical",
barheight = grid::unit(5, "lines") #grid::unit(0.25, "npc")
direction = "vertical"#,
#barheight = grid::unit(5, "lines") #grid::unit(0.25, "npc")
),
x = guide_axis(angle = angle)
)
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit ea44b11

Please sign in to comment.