Skip to content

Latest commit

 

History

History
145 lines (92 loc) · 4.98 KB

NEWS.md

File metadata and controls

145 lines (92 loc) · 4.98 KB

lemon 0.5.9000

lemon 0.5.0

lemon 0.4.9

  • Finally merged bugfix for issue #24, spacing issues with facet_rep.

lemon 0.4.8

  • Minor bug fix in geom_pointline.

lemon 0.4.7

  • Fixed compability with ggplot2 > 3.4.2 (see #30) @teunbrand

  • %||% is no longer an exported function for R > 4.4, as it should be included into R's base from v. 4.5.

  • Minor bugfix when no labels used.

lemon 0.4.6

  • element_render is not exported, but available from ggplot2.

  • Fixed facet's, capped axes and brackets cf. ggplot2 v. 3.4.0.

  • Added vdiffr to test suite.

lemon 0.4.3

  • Bugfix on tests.

lemon 0.4.2

  • Added element_render and render_gpar that helps render grobs with the ggplot2 themes applied. render_gpar simply returns a gpar object.

  • Exports the function %||% which is simply a "x if not null else y" operator.

  • Added axis annotations, simple commands that can annotate on the axis areas. See annotate_x_axis and annotate_y_axis. The command extends the ggplot2 object to a 'lemon_plot'-class, which allows the object to have additional plotting routines. See ?lemon_plot.

  • More axes! scale_x_symmetric and scale_y_symmetric to ensure your axis is symmetric around some value.

lemon 0.4.1

  • guidebox_as_column: Reorders the keys and labels in a legend to a single-column gtable.

lemon 0.4.0

  • New feature: geom_siderange which kinda works like geom_rug, but displays a line within the plotting area and follows usual rules of aesthetics i.e. colour, and with added benefit of defining starting and ending point symbol.

  • Bug fix Some sort of rounding error in geom_pointpath and geom_pointline causes the connecting lines to appear in the wrong direction. The connecting lines are drawn by two different algorithms; when distance between points exceeds the threshold, the offset is calculated based on the points' size. When the distance is lower than the threshold, the lines are shortened by the proportion given by shorten.

lemon 0.3.3-1

  • Bug fix: linesize did not work on geom_pointline.

lemon 0.3.3

  • Added argument offset to reposition_legend to better nudge legend into place.

  • brackets_horizontal and brackets_vertical now uses 'npc' as default unit, as well as defaults to this unit if given a numeric.

  • brackets_horizontal and brackets_vertical skips changing ticks to brackets if theme(axis.ticks = element_blank()) and thus not created at all.

  • 'horisontal' is not an English word. Has been thoroughly replaced by 'horizontal'. Functions with not-English word in names are still available, but not advertised.

  • Extended facet_rep_grid and facet_rep_wrap to allow user to specify which sided tick labels should be kept. Can still use logicals for repeat.tick.labels.

  • coord_capped_* and coord_flex_* now checks if the provided brackets_* and capped_* functions corresponds to the correct orientation.

  • New feature geom_pointpath and geom_pointline that combines geom_point with geom_path and geom_line, respectively. These geoms apply any position adjustments (e.g.\ position_jitter) to both points and lines. Also adds a gap between point and end of lines that grows with pointsize.

lemon 0.3.2

  • grid_arrange_shared_legend can now accept other grobs in the ... arguments. It can therefore make a bit more complex plots, as shown under 'Examples' in the legend-vignette.

lemon 0.3.1

  • reposition_legend now places legend under axis lines, and further accepts x and y arguments for nudging.

lemon 0.3.0

  • Added .dot functions for supplying setwd() safe relative file paths.

  • knit_print functions are removed (without deprecating them) and replaced by lemon_print. lemon_print has been extended to also work on tables (i.e. a summary), but does not work nicely for cross-tabulation tables.

lemon 0.2.0

  • Legend functions (g_legend, grid_arrange_shared_legend, reposition_legend). Two first functions provided by Baptiste Auguié and Shaun Jackson.

lemon 0.1.0

  • Capped axis functions (capped_horisontal, capped_vertical), the flexible Cartesian coordinates (coord_capped_cart, coord_capped_flip, coord_flex_cart, coord_flex_flip, coord_flex_fixed), and brackets (brackets_horisontal, brackets_vertical).

  • Facets that repeat the labels (facet_rep_grid, facet_rep_wrap).

  • knitr printing functions (knit_print.data.frame, etc.) [REMOVED per 0.2.9000].