File: annotate.md

package info (click to toggle)
r-cran-ggplot2 3.5.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 9,944 kB
  • sloc: sh: 15; makefile: 5
file content (40 lines) | stat: -rw-r--r-- 1,145 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# annotation_raster() and annotation_custom() requires cartesian coordinates

    Problem while converting geom to grob.
    i Error occurred in the 1st layer.
    Caused by error in `draw_panel()`:
    ! `annotation_raster()` only works with `coord_cartesian()`.

---

    Problem while converting geom to grob.
    i Error occurred in the 1st layer.
    Caused by error in `draw_panel()`:
    ! `annotation_custom()` only works with `coord_cartesian()`.

# annotation_map() checks the input data

    `map` must be a data frame, not a character vector.

---

    `map` must have the columns `x`, `y`, and `id`.

# unsupported geoms signal a warning (#4719)

    `geom` must not be "hline".
    i Please use `geom_hline()` directly instead.

# annotate() checks aesthetic lengths match

    Unequal parameter lengths: x (3), y (3), and fill (2)

# annotation_logticks warns about deprecated `size` argument

    Using the `size` aesthetic in this geom was deprecated in ggplot2 3.5.0.
    i Please use `linewidth` instead.

# annotate() warns about `stat` or `position` arguments

    `annotate()` can't accept `stat` or `position` arguments.