版本发布 8
## What's Changed * Safer hook management by @vincentarelbundock in https://github.com/grantmcdermott/tinyplot/pull/425 * Support `xpd` and `srt` in `type_text()` by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/428 * Direct labs tip by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/429 * fix numeric xlevels specification in type_barplot by @zeileis in https://github.com/grantmcdermott/tinyplot/pull/431 * Wrap saved_par in `recordGraphics` by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/438 * Better recycling logic for `abline` and co. by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/422 * CRAN v0.4.2 by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/440 **Full Changelog**: https://github.com/grantmcdermott/tinyplot/compare/v0.4.1...v0.4.2
Patch release, mostly aimed at fixing a narrow `tinytheme("ridge")` gradient legend regression. ## What's Changed * Logo & web page improvements by @zeileis in https://github.com/grantmcdermott/tinyplot/pull/413 * ridge palette by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/415 * Revert min R version to 4.0.0 by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/416 * readme duplication by @vincentarelbundock in https://github.com/grantmcdermott/tinyplot/pull/418 * CRAN v0.4.1 by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/419 **Full Changelog**: https://github.com/grantmcdermott/tinyplot/compare/v0.4.0...v0.4.1
See our [NEWS](https://github.com/grantmcdermott/tinyplot/blob/c277b748b6e68027f7e3055d84ce9ae86c50db10/NEWS.md) file for the key summary points. ## What's Changed * minor legend simplification by @vincentarelbundock in https://github.com/grantmcdermott/tinyplot/pull/282 * rename test files with type prefix by @vincentarelbundock in https://github.com/grantmcdermott/tinyplot/pull/309 * Issue #307 `cex` should be respected with `type="b"` by @vincentarelbundock in https://github.com/grantmcdermott/tinyplot/pull/308 * Use cairo_pdf if supported by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/311 * Add link to code in Gallery by @etiennebacher in https://github.com/grantmcdermott/tinyplot/pull/312 * gallery additions by @vincentarelbundock in https://github.com/grantmcdermott/tinyplot/pull/315 * assign pt.lwd for type "p" in legend by @kscott-1 in https://github.com/grantmcdermott/tinyplot/pull/320 * Characters variables inherit same default behaviour as factors by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/323 * Manual palette colours by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/325 * [Upstream altdoc] better formatting for column widths by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/328 * col accepts numeric index by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/330 * Switch nested drawing loop: First facets, then by groups by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/331 * `type_text()` accepts non-character labels by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/336 * Support `pch` character literals by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/338 * Support for barplots by @zeileis in https://github.com/grantmcdermott/tinyplot/pull/314 * Dealing with y1/y2 ~ x formulas by @zeileis in https://github.com/grantmcdermott/tinyplot/pull/341 * Types vignette: list tinyplot types in neater table format by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/340 * xaxt processing in type_barplot by @zeileis in https://github.com/grantmcdermott/tinyplot/pull/345 * `type_violin()` by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/354 * Pass on bg argument in type_lines by @zeileis in https://github.com/grantmcdermott/tinyplot/pull/356 * Fix margin spacing for (flipped) boxplot and jittered types by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/358 * `xaxl` / `yaxl` args for formatting axis tick labels by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/363 * Centered barplots by @zeileis in https://github.com/grantmcdermott/tinyplot/pull/361 * Absolute numbers in tinylabel() via abs_ prefix by @zeileis in https://github.com/grantmcdermott/tinyplot/pull/364 * Fix dynamic x-axis spacing by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/369 * Pass `null_by` and `null_facet` args to `type_data` by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/372 * `xaxl`/`yaxl` symbol shortcuts by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/373 * Improve Positron integration by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/377 * Fix typo in "Themes" vignette by @etiennebacher in https://github.com/grantmcdermott/tinyplot/pull/379 * Document function `type_*` shortcut strings by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/380 * Fix axis labeller + free facets by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/383 * Fix factor-based y-tick labels for "p"-alike plots by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/387 * svglite 2.2.0 by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/390 * add log(10) labeller by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/391 * recordGraphics redux by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/394 * altdoc tweaks: navbar, theme, favicon by @zeileis in https://github.com/grantmcdermott/tinyplot/pull/395 * docs: issue #285 tips and tricks for legend alpha by @vincentarelbundock in https://github.com/grantmcdermott/tinyplot/pull/381 * Misc doc improvements by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/396 * Tweaks for the gallery by @etiennebacher in https://github.com/grantmcdermott/tinyplot/pull/398 * Smaller `n` in "tips and tricks" by @etiennebacher in https://github.com/grantmcdermott/tinyplot/pull/402 * Handle xmin/xmax/ymin/ymax along with model.frame by @zeileis in https://github.com/grantmcdermott/tinyplot/pull/403 * Support manual breaks (`x/yaxb`) by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/400 * Add warnings and documentation for adding to faceted plots by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/407 * Revamped palette logic and colour recycling by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/410 * CRAN v0.4.0 by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/412 ## New Contributors * @kscott-1 made their first contribution in https://github.com/grantmcdermott/tinyplot/pull/320 **Full Changelog**: https://github.com/grantmcdermott/tinyplot/compare/v0.3.0...v0.4.0
See: https://github.com/grantmcdermott/tinyplot/blob/main/NEWS.md ## What's Changed [tinyplot_0.3.0.tar.gz](https://github.com/user-attachments/files/18677589/tinyplot_0.3.0.tar.gz) * Better preserve facet attributes by @zeileis in https://github.com/grantmcdermott/tinyplot/pull/209 * Modularize: Minor PR by @vincentarelbundock in https://github.com/grantmcdermott/tinyplot/pull/214 * Coerce x/y/by from character to factor by @zeileis in https://github.com/grantmcdermott/tinyplot/pull/219 * lim_args was updating xlim and ylim even if specified by @mclements in https://github.com/grantmcdermott/tinyplot/pull/221 * Support axis flipping by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/216 * Support custom types by @vincentarelbundock in https://github.com/grantmcdermott/tinyplot/pull/222 * Export type_histogram by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/232 * Support `grid()` args in tpar by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/237 * Add `se` arg to type_loess by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/238 * Type spline by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/241 * Miscellaneous documentation improvements by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/242 * Spineplots and spinograms for factor y-variables by @zeileis in https://github.com/grantmcdermott/tinyplot/pull/233 * Issue #225 Deprecate ribbon.alpha by @vincentarelbundock in https://github.com/grantmcdermott/tinyplot/pull/244 * `plt_add()` by @vincentarelbundock in https://github.com/grantmcdermott/tinyplot/pull/246 * `draw` argument by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/245 * type_function by @vincentarelbundock in https://github.com/grantmcdermott/tinyplot/pull/250 * Types: `abline`, `hline`, `vline` by @vincentarelbundock in https://github.com/grantmcdermott/tinyplot/pull/249 * QQ plots by @vincentarelbundock in https://github.com/grantmcdermott/tinyplot/pull/251 * `tinyplot_add` call multiple times by @vincentarelbundock in https://github.com/grantmcdermott/tinyplot/pull/256 * news clean-up by @vincentarelbundock in https://github.com/grantmcdermott/tinyplot/pull/254 * tinyplot_add first argument can be unnamed by @vincentarelbundock in https://github.com/grantmcdermott/tinyplot/pull/259 * Free scale facet axes by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/253 * Issue #265 `col`, `lty` and friends should not be `type_abline()` arguments by @vincentarelbundock in https://github.com/grantmcdermott/tinyplot/pull/266 * `type_ridge()` by @vincentarelbundock in https://github.com/grantmcdermott/tinyplot/pull/252 * Pass type arguments through dots by @zeileis in https://github.com/grantmcdermott/tinyplot/pull/267 * Themes by @vincentarelbundock in https://github.com/grantmcdermott/tinyplot/pull/258 * Add type_summary by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/274 * Add type_rug() by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/276 * Consistent decimals for gradient legends by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/277 * `type_text()` by @vincentarelbundock in https://github.com/grantmcdermott/tinyplot/pull/281 * Fixing minor error in the `type_text()` by @vincentarelbundock in https://github.com/grantmcdermott/tinyplot/pull/283 * Add type_density() function by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/284 * intro plt() alias discussion by @vincentarelbundock in https://github.com/grantmcdermott/tinyplot/pull/262 * ylevels reordering in type_ridge() by @zeileis in https://github.com/grantmcdermott/tinyplot/pull/270 * Bandwidth selection in type_density and type_ridge by @zeileis in https://github.com/grantmcdermott/tinyplot/pull/291 * Update type_histogram.R by @eleuven in https://github.com/grantmcdermott/tinyplot/pull/288 * Support additional `type_hist()` args by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/296 * Make `tinytheme()` play nicer with ridge and spineplot types by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/298 * type_ridge: joint.max=all/facet/by instead of global.max=TRUE/FALSE by @zeileis in https://github.com/grantmcdermott/tinyplot/pull/292 * tinytheme("ridge(2)") by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/302 * CRAN v0.3.0 by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/304 ## New Contributors * @mclements made their first contribution in https://github.com/grantmcdermott/tinyplot/pull/221 * @eleuven made their first contribution in https://github.com/grantmcdermott/tinyplot/pull/288 **Full Changelog**: https://github.com/grantmcdermott/tinyplot/compare/v0.2.1...v0.3.0
A (mostly) patch release with bug fixes and internal enhancements. See [NEWS.md](https://github.com/grantmcdermott/tinyplot/blob/main/NEWS.md#021) for a detailed changelog. Auto-generated release notes follow below. ## What's Changed * Convert intro vignette to qmd by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/180 * altdoc 0.4.0 by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/185 * Fix duplicate density call by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/187 * Fine control of axis types in axes/xaxt/yaxt by @zeileis in https://github.com/grantmcdermott/tinyplot/pull/190 * Modularize a few more chunks by @vincentarelbundock in https://github.com/grantmcdermott/tinyplot/pull/192 * Boxplot widths by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/196 * Fix typo in docs that affected the formatting on the website by @etiennebacher in https://github.com/grantmcdermott/tinyplot/pull/200 * docs: add missing backticks by @etiennebacher in https://github.com/grantmcdermott/tinyplot/pull/202 * Do not overwrite xlab and ylab if explicitly supplied by @vincentarelbundock in https://github.com/grantmcdermott/tinyplot/pull/204 * Formula processing by @zeileis in https://github.com/grantmcdermott/tinyplot/pull/197 * More refactor: data frame split apply combine by @vincentarelbundock in https://github.com/grantmcdermott/tinyplot/pull/198 * Better handling of facet titles with logged axes by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/207 **Full Changelog**: https://github.com/grantmcdermott/tinyplot/compare/v0.2.0...v0.2.1
## What's Changed * Support empty plots (`type = "n"`) by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/157 * Support `type = "boxplot"` by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/154 * Support type = "polypath" by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/159 * Support type = "rect" by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/161 * Support type = "segments" by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/163 * Fix some lints by @etiennebacher in https://github.com/grantmcdermott/tinyplot/pull/165 * Add `empty = <logical>` argument by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/167 * Support type = "histogram" (alias "hist") by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/164 * type = "jitter" by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/170 * refactor: setup_device() by @vincentarelbundock in https://github.com/grantmcdermott/tinyplot/pull/171 * boxplot adjustment override when x == by by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/176 * Refactor: Assertions + Modularize by @vincentarelbundock in https://github.com/grantmcdermott/tinyplot/pull/173 * type = NULL by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/179 **Full Changelog**: https://github.com/grantmcdermott/tinyplot/compare/v0.1.0...v0.2.0
Our first CRAN release 🎉🎉🎉 https://cran.r-project.org/web/packages/tinyplot/index.html For the full changelog, please see: https://github.com/grantmcdermott/tinyplot/blob/main/NEWS.md ## What's Changed * Support user-supplied polygons by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/127 * Continuous / gradient legend by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/122 * Support lwd argument by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/134 * Add vignettes to .Rbuildignore by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/135 * r-universe badge by @vincentarelbundock in https://github.com/grantmcdermott/tinyplot/pull/139 * Pass par args via tpar by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/140 * Use Apache License 2.0 by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/141 * Support `file` arg for writing plots to disk by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/143 * Skip tests on CRAN to reduce install size by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/145 * Custom legends with "density" type by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/147 * Logo by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/148 * CRAN v0.1.0 submission by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/151 **Full Changelog**: https://github.com/grantmcdermott/tinyplot/compare/v0.0.5...v0.1.0
## What's Changed **BREAKING CHANGE** * Change package name to "tinyplot" by @grantmcdermott in https://github.com/grantmcdermott/tinyplot/pull/117 Other changes * website: docsify -> quarto with gallery by @vincentarelbundock in https://github.com/grantmcdermott/tinyplot/pull/109 * Website: add table of contents on each page by @etiennebacher in https://github.com/grantmcdermott/tinyplot/pull/113 * update color reference from arXiv to The R Journal by @zeileis in https://github.com/grantmcdermott/tinyplot/pull/114 **Full Changelog**: https://github.com/grantmcdermott/tinyplot/compare/v0.0.4...v0.0.5