Skip to content

Commit

Permalink
Vignette: compatibility with 'photobiology' 0.11.2
Browse files Browse the repository at this point in the history
  • Loading branch information
aphalo committed Jul 9, 2024
1 parent bf8f8c1 commit 0002922
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Package: ggspectra
Type: Package
Title: Extensions to 'ggplot2' for Radiation Spectra
Version: 0.3.12.9001
Date: 2024-07-07
Date: 2024-07-09
Authors@R:
c(
person("Pedro J.", "Aphalo", email = "[email protected]", role = c("aut", "cre"), comment = c(ORCID = "0000-0003-3385-972X")),
Expand Down
2 changes: 1 addition & 1 deletion vignettes/userguide2-autoplot-methods.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ autoplot(sun.daily.spct)
Even though the `autoplot()` methods can return a finished plot, the returned object is a `ggplot` object and can be built upon by adding additional elements like _facets_, _aesthetics_ and even additional _layers_. We pass `idfactor = NA` to suppress the mapping of the spectra to `linetype`.

```{r}
autoplot(sun_evening.spct, idfactor = "Time", facets = 3) +
autoplot(sun_evening.spct, facets = 3) +
geom_vline(xintercept = c(400, 700), linetype = "dashed")
```

Expand Down

0 comments on commit 0002922

Please sign in to comment.