Skip to content

Commit d8f07e4

Browse files
committed
Tweak icons
1 parent 31a3309 commit d8f07e4

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

icons/geom_jitter.png

15 Bytes
Loading

icons/icons.R

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
library(grid)
22
library(maps)
3+
library(ggplot2)
4+
5+
set.seed(1014)
36

47
# Coords -----------------------------------------------------------------------
58

@@ -504,7 +507,7 @@ write_icon("scale_colour_hue", {
504507
), col = NA))
505508
})
506509

507-
write_icon("scale_identity", {
510+
write_icon("scale_colour_identity", {
508511
textGrob("f(x) = x", gp = gpar(cex = 1.2))
509512
})
510513

@@ -516,7 +519,7 @@ write_icon("scale_linetype", {
516519
))
517520
})
518521

519-
write_icon("scale_manual", {
522+
write_icon("scale_colour_manual", {
520523
textGrob("DIY", gp = gpar(cex = 1.2))
521524
})
522525

@@ -542,10 +545,6 @@ write_icon("scale_x_date", {
542545
textGrob("14/10/1979", gp = gpar(cex = 1))
543546
})
544547

545-
write_icon("scale_x_datetime", {
546-
textGrob("14/10/1979\n10:14am", gp = gpar(cex = 0.9))
547-
})
548-
549548
# Statistics -------------------------------------------------------------------
550549

551550
write_icon("stat_identity", {

icons/scale_colour_identity.png

2.47 KB
Loading

icons/scale_colour_manual.png

2.06 KB
Loading

0 commit comments

Comments
 (0)