ggplot2 icon indicating copy to clipboard operation
ggplot2 copied to clipboard

An implementation of the Grammar of Graphics in R

Results 510 ggplot2 issues
Sort by recently updated
recently updated
newest added

This PR aims to fix #5929. Briefly, there are 3 situations by which a value can become `NA` in a discrete scale. 1. The data value is `NA`. 2. The...

This PR aims to fix #5945. Briefly, a discrete position scale was treated as empty when range data is absent and limits are `NULL`. This PR also treats such scale...

Hitting some instances where `geom_col() + scale_y_discrete()` errors out instead of producing an empty plot when given no data. I've encountered two different failure modes with ggplot 3.5.1 in R...

bug
scales :snake:

This PR aims to fix #1864. Briefly, we evaluate facet variables before adding margins and keep track of margins via an index. To explain a little; the issue results from...

This PR aims to fix #5940. Briefly, it uses the `setup_params` method to fill in a potentially missing `sides` argument.

Hello! This is relatively minor (in that it's easy for a novice to fix, though it's breaking to old code) but I think I am correct that it's in error....

The below code works in 3.5.1, but now does not in the Development version. I know `layer()` is not the conventional way to create a rug plot - but I...

This PR aims to fix #4327 and fix #5938. Briefly, `find_x_overlap()` is completely rewritten. The trick was to search wether `xmin[i + 1]` is larger than `cummax(xmax)[i]`, then start a...

In the example below, ranges 1, 2, 3 all overlap and hence should get the same overlap identifier from `find_x_overlaps()`. However, range 3 is counted separately, despite having 100% overlap...

bug
positions :1st_place_medal:

This PR aims to fix #5936. Briefly, it adds the `orientation` argument to `geom_step()`. If `orientation = "y"`, stairsteps are constructed vertically. In the example below, recall that the steps...