Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ where the formatting is also better._
- Add a "recession bars" section to the `Tips & tricks` vignette.
(#503 @grantmcdermott)

- Point out more explicitly how the `draw` argument is evaluated within
`tinyplot()` and that it thus has access to the local definition to all
variables such as `x` and `y` etc. (#507 @zeileis)

## 0.5.0

### New features
Expand Down
3 changes: 2 additions & 1 deletion R/tinyplot.R
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,8 @@
#' \code{\link[graphics]{abline}} or \code{\link[graphics]{text}}. Note that
#' this argument is somewhat experimental and that _no_ internal checking is
#' done for correctness; the provided argument is simply captured and
#' evaluated as-is. See Examples.
#' evaluated as-is within `tinyplot()` and thus has access to the local
#' definition of all variables such as `x`, `y`, etc. See Examples.
#' @param restore.par a logical value indicating whether the
#' \code{\link[graphics]{par}} settings prior to calling `tinyplot` should be
#' restored on exit. Defaults to FALSE, which makes it possible to add
Expand Down
3 changes: 2 additions & 1 deletion man/tinyplot.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.