Changelog

ggplot2 3.1.0 2018-10-25

Breaking changes

This is a minor release and breaking changes have been kept to a minimum. End users of ggplot2 are unlikely to encounter any issues. However, there are a few items that developers of ggplot2 extensions should be aware of. For additional details, see also the discussion accompanying issue #2890.

In non-user-facing internal code (specifically in the aes() function and in the aesthetics argument of scale functions), ggplot2 now always uses the British spelling for aesthetics containing the word “colour”. When users specify a “color” aesthetic it is automatically renamed to “colour”. This renaming is also applied to non-standard aesthetics that contain the word “color”. For example, “point_color” is renamed to “point_colour”. This convention makes it easier to support both British and American spelling for novel, non-standard aesthetics, but it may require some adjustment for packages that have previously introduced non-standard color aesthetics using American spelling. A new function standardise_aes_names() is provided in case extension writers need to perform this renaming in their own code (@clauswilke, #2649).

Functions that generate other functions (closures) now force the arguments that are used from the generated functions, to avoid hard-to-catch errors. This may affect some users of manual scales (such as scale_colour_manual(), scale_fill_manual(), etc.) who depend on incorrect behavior (@krlmlr, #2807).

Coord objects now have a function backtransform_range() that returns the panel range in data coordinates. This change may affect developers of custom coords, who now should implement this function. It may also affect developers of custom geoms that use the range() function. In some applications, backtransform_range() may be more appropriate (@clauswilke, #2821).

New features

coord_sf() has much improved customization of axis tick labels. Labels can now be set manually, and there are two new parameters, label_graticule and label_axes, that can be used to specify which graticules to label on which side of the plot (@clauswilke, #2846, #2857, #2881).

For faceted plots, data is no longer internally reordered. This makes it safer to feed data columns into aes() or into parameters of geoms or stats. However, doing so remains discouraged (@clauswilke, #2694).

geom_text(..., parse = TRUE) now correctly renders the expected number of items instead of silently dropping items that are empty expressions, e.g. the empty string "". If an expression spans multiple lines, we take just the first line and drop the rest. This same issue is also fixed for geom_label() and the axis labels for geom_sf() (@slowkow, #2867).

scale_*_date(), scale_*_time() and scale_*_datetime() can now display a secondary axis that is a one-to-one transformation of the primary axis, implemented using the sec.axis argument to the scale constructor (@dpseidel, #2244).

ggplot2 3.0.0 2018-07-03

Breaking changes

ggplot2 now supports/uses tidy evaluation (as described below). This is a major change and breaks a number of packages; we made this breaking change because it is important to make ggplot2 more programmable, and to be more consistent with the rest of the tidyverse. The best general (and detailed) introduction to tidy evaluation can be found in the meta programming chapters in Advanced R.

The primary developer facing change is that aes() now contains quosures (expression + environment pairs) rather than symbols, and you’ll need to take a different approach to extracting the information you need. A common symptom of this change are errors “undefined columns selected” or “invalid ‘type’ (list) of argument” (#2610). As in the previous version, constants (like aes(x = 1) or aes(colour = "smoothed")) are stored as is.

In this version of ggplot2, if you need to describe a mapping in a string, use quo_name() (to generate single-line strings; longer expressions may be abbreviated) or quo_text() (to generate non-abbreviated strings that may span multiple lines). If you do need to extract the value of a variable instead use rlang::eval_tidy(). You may want to condition on (packageVersion("ggplot2") <= "2.2.1") so that your code can work with both released and development versions of ggplot2.

We recognise that this is a big change and if you’re not already familiar with rlang, there’s a lot to learn. If you are stuck, or need any help, please reach out on https://community.rstudio.com.

Error: Column y must be a 1d atomic vector or a list

Internally, ggplot2 now uses as.data.frame(tibble::as_tibble(x)) to convert a list into a data frame. This improves ggplot2’s support for list-columns (needed for sf support), at a small cost: you can no longer use matrix-columns. Note that unlike tibble we still allow column vectors such as returned by base::scale() because of their widespread use.

If layer data contains columns with identical names an error will be thrown. In earlier versions the first occuring column was chosen silently, potentially masking that the wrong data was chosen.

Error: Aesthetics must be either length 1 or the same as the data

Layers are stricter about the columns they will combine into a single data frame. Each aesthetic now must be either the same length as the data frame or a single value. This makes silent recycling errors much less likely.

Error: coord_* doesn’t support free scales

Free scales only work with selected coordinate systems; previously you’d get an incorrect plot.

Error in f(…) : unused argument (range = c(0, 1))

This is because the oob argument to scale has been set to a function that only takes a single argument; it needs to take two arguments (x, and range).

Error: unused argument (output)

The function guide_train() now has an optional parameter aesthetic that allows you to override the aesthetic setting in the scale. To make your code work with the both released and development versions of ggplot2 appropriate, add aesthetic = NULL to the guide_train() method signature.

New tag label for adding identification tags to plots, typically used for labelling a subplot with a letter. Add a tag with labs(tag = "A"), style it with the plot.tag theme element, and control position with the plot.tag.position theme setting (@thomasp85).

position_dodge() gains a preserve argument that allows you to control whether the total width at each x value is preserved (the current default), or ensure that the width of a single element is preserved (what many people want) (#1935).

New position_dodge2() provides enhanced dodging for boxplots. Compared to position_dodge(), position_dodge2() compares xmin and xmax values
to determine which elements overlap, and spreads overlapping elements evenly within the region of overlap. position_dodge2() is now the default position adjustment for geom_boxplot(), because it handles varwidth = TRUE, and will be considered for other geoms in the future.

The padding parameter adds a small amount of padding between elements (@karawoo, #2143) and a reverse parameter allows you to reverse the order of placement (@karawoo, #2171).

New stat_qq_line() makes it easy to add a simple line to a Q-Q plot, which makes it easier to judge the fit of the theoretical distribution (@nicksolomon).

Scales and guides

Improved support for mapping date/time variables to alpha, size, colour, and fill aesthetics, including date_breaks and date_labels arguments (@karawoo, #1526), and new scale_alpha() variants (@karawoo, #1526).

Improved support for ordered factors. Ordered factors throw a warning when mapped to shape (unordered factors do not), and do not throw warnings when mapped to size or alpha (unordered factors do). Viridis is used as the default colour and fill scale for ordered factors (@karawoo, #1526).

The expand argument of scale_*_continuous() and scale_*_discrete() now accepts separate expansion values for the lower and upper range limits. The expansion limits can be specified using the convenience function expand_scale().

Separate expansion limits may be useful for bar charts, e.g. if one wants the bottom of the bars to be flush with the x axis but still leave some (automatically calculated amount of) space above them:

It can also be useful for line charts, e.g. for counts over time, where one wants to have a ’hard’ lower limit of y = 0 but leave the upper limit unspecified (and perhaps differing between panels), with some extra space above the highest point on the line (with symmetrical limits, the extra space above the highest point could in some cases cause the lower limit to be negative).

The old syntax for the expand argument will, of course, continue to work (@huftis, #1669).

Extension points

Custom objects can now be added using + if a ggplot_add method has been defined for the class of the object (@thomasp85).

Theme elements can now be subclassed. Add a merge_element method to control how properties are inherited from the parent element. Add an element_grob method to define how elements are rendered into grobs (@thomasp85, #1981).

Coords have gained new extension mechanisms.

If you have an existing coord extension, you will need to revise the specification of the train() method. It is now called setup_panel_params() (better reflecting what it actually does) and now has arguments scale_x, and scale_y (the x and y scales respectively) and param, a list of plot specific parameters generated by setup_params().

What was formerly called scale_details (in coords), panel_ranges (in layout) and panel_scales (in geoms) are now consistently called panel_params (#1311). These are parameters of the coord that vary from panel to panel.

All colour and fill scales now have an aesthetics argument that can be used to set the aesthetic(s) the scale works with. This makes it possible to apply a colour scale to both colour and fill aesthetics at the same time, via aesthetics = c("colour", "fill") (@clauswilke).

geom_segment() now also takes a linejoin parameter. This allows more control over the appearance of the segments, which is especially useful for plotting thick arrows (@Ax3man, #774).

geom_smooth() now reports the formula used when method = "auto" (@davharris#1951). geom_smooth() now orders by the x aesthetic, making it easier to pass pre-computed values without manual ordering (@izahn, #2028). It also now knows it has ymin and ymax aesthetics (#1939). The legend correctly reflects the status of the se argument when used with stats other than the default (@clauswilke, #1546).

Themes were tweaked for visual consistency and more graceful behavior when changing the base font size. All absolute heights or widths were replaced with heights or widths that are proportional to the base font size. One relative font size was eliminated (@clauswilke).

The height of descenders is now calculated solely on font metrics and doesn’t change with the specific letters in the string. This fixes minor alignment issues with plot titles, subtitles, and legend titles (#2288, @clauswilke).

Guides

guide_colorbar() is more configurable: tick marks and color bar frame can now by styled with arguments ticks.colour, ticks.linewidth, frame.colour, frame.linewidth, and frame.linetype (@clauswilke).

ggplot2 2.2.1 2016-12-30

ggplot2 2.2.0 2016-11-11

Major new features

Subtitle and caption

Thanks to @hrbrmstr plots now have subtitles and captions, which can be set with the subtitle and caption arguments to ggtitle() and labs(). You can control their appearance with the theme settings plot.caption and plot.subtitle. The main plot title is now left-aligned to better work better with a subtitle. The caption is right-aligned (@hrbrmstr).

Stacking

position_stack() and position_fill() now sort the stacking order to match grouping order. This allows you to control the order through grouping, and ensures that the default legend matches the plot (#1552, #1593). If you want the opposite order (useful if you have horizontal bars and horizontal legend), you can request reverse stacking by using position = position_stack(reverse = TRUE) (#1837).

Layers

geom_col() was added to complement geom_bar() (@hrbrmstr). It uses stat="identity" by default, making the y aesthetic mandatory. It does not support any other stat_() and does not provide fallback support for the binwidth parameter. Examples and references in other functions were updated to demonstrate geom_col() usage.

When creating a layer, ggplot2 will warn if you use an unknown aesthetic or an unknown parameter. Compared to the previous version, this is stricter for aesthetics (previously there was no message), and less strict for parameters (previously this threw an error) (#1585).

Facetting

The facet system, as well as the internal panel class, has been rewritten in ggproto. Facets are now extendable in the same manner as geoms and stats, as described in vignette("extending-ggplot2").

When facet_wrap() results in an uneven number of panels, axes will now be drawn underneath the hanging panels (fixes #1607)

Strips can now be freely positioned in facet_wrap() using the strip.position argument (deprecates switch).

The relative order of panel, strip, and axis can now be controlled with the theme setting strip.placement that takes either inside (strip between panel and axis) or outside (strip after axis).

The theme option panel.margin has been deprecated in favour of panel.spacing to more clearly communicate intent.

Extensions

Unfortunately there was a major oversight in the construction of ggproto which lead to extensions capturing the super object at package build time, instead of at package run time (#1826). This problem has been fixed, but requires re-installation of all extension packages.

Scales

The position of x and y axes can now be changed using the position argument in scale_x_*and scale_y_* which can take top and bottom, and left and right respectively. The themes of top and right axes can be modified using the .top and .right modifiers to axis.text.* and axis.title.*.

Continuous scales

scale_x_continuous() and scale_y_continuous() can now display a secondary axis that is a one-to-one transformation of the primary axis (e.g. degrees Celcius to degrees Fahrenheit). The secondary axis will be positioned opposite to the primary axis and can be controlled with the sec.axis argument to the scale constructor.

Scales worry less about having breaks. If no breaks can be computed, the plot will work instead of throwing an uninformative error (#791). This is particularly helpful when you have facets with free scales, and not all panels contain data.

Discrete scales

The treatment of missing values by discrete scales has been thoroughly overhauled (#1584). The underlying principle is that we can naturally represent missing values on discrete variables (by treating just like another level), so by default we should.

This principle applies to:

character vectors

factors with implicit NA

factors with explicit NA

And to all scales (both position and non-position.)

Compared to the previous version of ggplot2, there are three main changes:

All discrete scales gain a na.translate argument that allows you to control whether NAs are translated to something that can be visualised, or should be left as missing. Note that if you don’t translate (i.e. na.translate = FALSE) the missing values will passed on to the layer, which will warning that it’s dropping missing values. To suppress the warnings, you’ll also need to add na.rm = TRUE to the layer call.

When computing the height of titles, ggplot2 now includes the height of the descenders (i.e. the bits of g and y that hang beneath the baseline). This improves the margins around titles, particularly the y axis label (#1712). I have also very slightly increased the inner margins of axis titles, and removed the outer margins.

Theme element inheritance is now easier to work with as modification now overrides default element_blank elements (#1555, #1557, #1565, #1567)

Horizontal legends (i.e. legends on the top or bottom) are horizontally aligned by default (#1842). Use legend.box = "vertical" to switch back to the previous behaviour.

There were a number of tweaks to the theme elements that control legends:

legend.justification now controls appearance will plotting the legend outside of the plot area. For example, you can use theme(legend.justification = "top") to make the legend align with the top of the plot.

panel.margin and legend.margin have been renamed to panel.spacing and legend.spacing respectively, to better communicate intent (they only affect spacing between legends and panels, not the margins around them)

legend.margin now controls margin around individual legends.

New legend.box.background, legend.box.spacing, and legend.box.margin control the background, spacing, and margin of the legend box (the region that contains all legends).

Bug fixes and minor improvements

ggplot2 now imports tibble. This ensures that all built-in datasets print compactly even if you haven’t explicitly loaded tibble or dplyr (#1677).

geom_histogram() and stat_bin() understand the breaks parameter once more. (#1665). The floating point adjustment for histogram bins is now actually used - it was previously inadvertently ignored (#1651).

geom_violin() no longer transforms quantile lines with the alpha aesthetic (@mnbram, #1714). It no longer errors when quantiles are requested but data have zero range (#1687). When trim = FALSE it once again has a nice range that allows the density to reach zero (by extending the range 3 bandwidths to either side of the data) (#1700).

layer() gains new check.aes and check.param arguments. These allow geom/stat authors to optional suppress checks for known aesthetics/parameters. Currently this is used only in geom_blank() which powers expand_limits() (#1795).

All stat_*() display a better error message when required aesthetics are missing.

ggplot2 2.1.0 2016-03-01

New features

When mapping an aesthetic to a constant (e.g. geom_smooth(aes(colour = "loess")))), the default guide title is the name of the aesthetic (i.e. “colour”), not the value (i.e. “loess”) (#1431).

layer() now accepts a function as the data argument. The function will be applied to the data passed to the ggplot() function and must return a data.frame (#1527, @thomasp85). This is a more general version of the deprecated subset argument.

stat_bin() has been overhauled to use the same algorithm as ggvis, which has been considerably improved thanks to the advice of Randy Prium (@rpruim). This includes:

Better arguments and a better algorithm for determining the origin. You can now specify either boundary or the center of a bin. origin has been deprecated in favour of these arguments.

drop is deprecated in favour of pad, which adds extra 0-count bins at either end (needed for frequency polygons). geom_histogram() defaults to pad = FALSE which considerably improves the default limits for the histogram, especially when the bins are big (#1477).

The default algorithm does a (somewhat) better job at picking nice widths and origins across a wider range of input data.

Bug fixes

All \donttest{} examples run.

All geom_() and stat_() functions now have consistent argument order: data + mapping, then geom/stat/position, then ..., then specific arguments, then arguments common to all layers (#1305). This may break code if you were previously relying on partial name matching, but in the long-term should make ggplot2 easier to use. In particular, you can now set the n parameter in geom_density2d() without it partially matching na.rm (#1485).

For geoms with both colour and fill, alpha once again only affects fill (Reverts #1371, #1523). This was causing problems for people.

stat_bin_hex() and stat_bin_summary() now use the same underlying algorithm so results are consistent (#1383). stat_bin_hex() now accepts a weight aesthetic. To be consistent with related stats, the output variable from stat_bin_hex() is now value instead of count.

stat_density() gains a bw parameter which makes it easy to get consistent smoothing between facets (@jiho)

stat-density-2d() no longer ignores the h parameter, and now accepts bins and binwidth parameters to control the number of contours (#1448, @has2k1).

stat_ecdf() does a better job of adding padding to -Inf/Inf, and gains an argument pad to suppress the padding if not needed (#1467).

geom_bar() now has it’s own stat, distinct from stat_bin() which was also used by geom_histogram(). geom_bar() now uses stat_count() which counts values at each distinct value of x (i.e. it does not bin the data first). This can be useful when you want to show exactly which values are used in a continuous variable.

geom_point() gains a stroke aesthetic which controls the border width of shapes 21-25 (#1133, @SeySayux). size and stroke are additive so a point with size = 5 and stroke = 5 will have a diameter of 10mm. (#1142)

New position_nudge() allows you to slightly offset labels (or other geoms) from their corresponding points (#1109).

scale_size() now maps values to area, not radius. Use scale_radius() if you want the old behaviour (not recommended, except perhaps for lines).

Layers are now much stricter about their arguments - you will get an error if you’ve supplied an argument that isn’t an aesthetic or a parameter. This is likely to cause some short-term pain but in the long-term it will make it much easier to spot spelling mistakes and other errors (#1293).

Extensibility

All Geoms, Stats and Positions are now exported, so you can inherit from them when making your own objects (#989).

ggplot2 no longer uses proto or reference classes. Instead, we now use ggproto, a new OO system designed specifically for ggplot2. Unlike proto and RC, ggproto supports clean cross-package inheritance. Creating a new OO system isn’t usually the right way to solve a problem, but I’m pretty sure it was necessary here. Read more about it in the vignette.

aes_() replaces aes_q(). It also supports formulas, so the most concise SE version of aes(carat, price) is now aes_(~carat, ~price). You may want to use this form in packages, as it will avoid spurious R CMD check warnings about undefined global variables.

Text

geom_text() has been overhauled to make labelling your data a little easier. It:

nudge_x and nudge_y arguments let you offset labels from their corresponding points (#1120).

check_overlap = TRUE provides a simple way to avoid overplotting of labels: labels that would otherwise overlap are omitted (#1039).

hjust and vjust can now be character vectors: “left”, “center”, “right”, “bottom”, “middle”, “top”. New options include “inward” and “outward” which align text towards and away from the center of the plot respectively.

geom_label() works like geom_text() but draws a rounded rectangle underneath each label (#1039). This is useful when you want to label plots that are dense with data.

Deprecated features

aes_q() has been replaced with aes_() to be consistent with SE versions of NSE functions in other packages.

The order aesthetic is officially deprecated. It never really worked, and was poorly documented.

The stat and position arguments to qplot() have been deprecated. qplot() is designed for quick plots - if you need to specify position or stat, use ggplot() instead.

The theme setting axis.ticks.margin has been deprecated: now use the margin property of axis.text.

stat_abline(), stat_hline() and stat_vline() have been removed: these were never suitable for use other than with geom_abline() etc and were not documented.

show_guide has been renamed to show.legend: this more accurately reflects what it does (controls appearance of layer in legend), and uses the same convention as other ggplot2 arguments (i.e. a . between names). (Yes, I know that’s inconsistent with function names with use _, but it’s too late to change now.)

Default appearance

The default theme_grey() background colour has been changed from “grey90” to “grey92”: this makes the background a little less visually prominent.

Labels and titles have been tweaked for readability:

Axes labels are darker.

Legend and axis titles are given the same visual treatment.

The default font size dropped from 12 to 11. You might be surprised that I’ve made the default text size smaller as it was already hard for many people to read. It turns out there was a bug in RStudio (fixed in 0.99.724), that shrunk the text of all grid based graphics. Once that was resolved the defaults seemed too big to my eyes.

More spacing between titles and borders.

Default margins scale with the theme font size, so the appearance at larger font sizes should be considerably improved (#1228).

geom_point() now uses shape 19 instead of 16. This looks much better on the default Linux graphics device. (It’s very slightly smaller than the old point, but it shouldn’t affect any graphics significantly)

Sizes in ggplot2 are measured in mm. Previously they were converted to pts (for use in grid) by multiplying by 72 / 25.4. However, grid uses printer’s points, not Adobe (big pts), so sizes are now correctly multiplied by 72.27 / 25.4. This is unlikely to noticeably affect display, but it’s technically correct (https://youtu.be/hou0lU8WMgo).

The default legend will now allocate multiple rows (if vertical) or columns (if horizontal) in order to make a legend that is more likely to fit on the screen. You can override with the nrow/ncol arguments to guide_legend()

New theme setting panel.ontop (logical) make it possible to place background elements (i.e., gridlines) on top of data. Best used with transparent panel.background (@noamross. #551).

Labelling

The facet labelling system was updated with many new features and a more flexible interface (@lionel-). It now works consistently across grid and wrap facets. The most important user visible changes are:

facet_grid() and facet_wrap() gain a switch argument to display the facet titles near the axes. When switched, the labels become axes subtitles. switch can be set to “x”, “y” or “both” (the latter only for grids) to control which margin is switched.

They now offer the multi_line argument to control whether to display composite facets (those specified as ~var1 + var2) on one or multiple lines.

In label_bquote() you now refer directly to the names of variables. With this change, you can create math expressions that depend on more than one variable. This math expression can be specified either for the rows or the columns and you can also provide different expressions to each margin.

As a consequence of these changes, referring to x in backquoted expressions is deprecated.

Similarly to label_bquote(), labeller() now take .rows and .cols arguments. In addition, it also takes .default. labeller() is useful to customise how particular variables are labelled. The three additional arguments specify how to label the variables are not specifically mentioned, respectively for rows, columns or both. This makes it especially easy to set up a project-wide labeller dispatcher that can be reused across all your plots. See the documentation for an example.

The new labeller label_context() adapts to the number of factors facetted over. With a single factor, it displays only the values, just as before. But with multiple factors in a composite margin (e.g. with ~cyl + am), the labels are passed over to label_both(). This way the variables names are displayed with the values to help identifying them.

On the programming side, the labeller API has been rewritten in order to offer more control when faceting over multiple factors (e.g. with formulae such as ~cyl + am). This also means that if you have written custom labellers, you will need to update them for this version of ggplot.

Previously, a labeller function would take variable and value arguments and return a character vector. Now, they take a data frame of character vectors and return a list. The input data frame has one column per factor facetted over and each column in the returned list becomes one line in the strip label. See documentation for more details.

The labels received by a labeller now contain metadata: their margin (in the “type” attribute) and whether they come from a wrap or a grid facet (in the “facet” attribute).

Note that the new as_labeller() function operator provides an easy way to transform an existing function to a labeller function. The existing function just needs to take and return a character vector.

Documentation

I’ve tried to reduce the use of ... so that you can see all the documentation in one place rather than having to integrate multiple pages. In some cases this has involved adding additional arguments to geoms to make it more clear what you can do:

The internals of positions have been cleaned up considerably. You’re unlikely to notice any external changes, although the documentation should be a little less confusing since positions now don’t list parameters they never use.

Data

All datasets have class tbl_df so if you also use dplyr, you get a better print method.

economics has been brought up to date to 2015-04-01.

New economics_long is the economics data in long form.

New txhousing dataset containing information about the Texas housing market. Useful for examples that need multiple time series, and for demonstrating model+vis methods.

New luv_colours dataset which contains the locations of all built-in colors() in Luv space.

movies has been moved into its own package, ggplot2movies, because it was large and not terribly useful. If you’ve used the movies dataset, you’ll now need to explicitly load the package with library(ggplot2movies).

Bug fixes and minor improvements

All partially matched arguments and $ have been been replaced with full matches (@jimhester, #1134).

ggplot2 now exports alpha() from the scales package (#1107), and arrow() and unit() from grid (#1225). This means you don’t need attach scales/grid or do scales::/grid:: for these commonly used functions.

aes_string() now only parses character inputs. This fixes bugs when using it with numbers and non default OutDec settings (#1045).

annotation_custom() automatically adds a unique id to each grob name, making it easier to plot multiple grobs with the same name (e.g. grobs of ggplot2 graphics) in the same plot (#1256).

ggplot() now captures the parent frame to use for evaluation, rather than always defaulting to the global environment. This should make ggplot more suitable to use in more situations (e.g. with knitr)

ggsave() has been simplified a little to make it easier to maintain. It no longer checks that you’re printing a ggplot2 object (so now also works with any grid grob) (#970), and always requires a filename. Parameter device now supports character argument to specify which supported device to use (‘pdf’, ‘png’, ‘jpeg’, etc.), for when it cannot be correctly inferred from the file extension (for example when a temporary filename is supplied server side in shiny apps) (@sebkopf, #939). It no longer opens a graphics device if one isn’t already open - this is annoying when you’re running from a script (#1326).

guide_colorbar() no longer fails when the legend is empty - previously this often masked misspecifications elsewhere in the plot (#967).

New layer_data() function extracts the data used for plotting for a given layer. It’s mostly useful for testing.

User supplied minor_breaks can now be supplied on the same scale as the data, and will be automatically transformed with by scale (#1385).

You can now suppress the appearance of an axis/legend title (and the space that would allocated for it) with NULL in the scale_ function. To use the default lable, use waiver() (#1145).

Position adjustments no longer warn about potentially varying ranges because the problem rarely occurs in practice and there are currently a lot of false positives since I don’t understand exactly what FP criteria I should be testing.

Improved the calculation of segments needed to draw the curve representing a line when plotted in polar coordinates. In some cases, the last segment of a multi-segment line was not drawn (@BrianDiggs, #952)