ggplot2
ggplot2 copied to clipboard
An implementation of the Grammar of Graphics in R
This PR aims to fix #2800. Briefly; it adds a helper function to standardise computing widths and applies it to several geoms that compute it. There are several problems with...
This PR doesn't adress an issue, but I think it is worth to consider anyway. In essence, it tries to cleanup three types of functions: 1. Orphan functions that were...
The current interface for interacting with palettes is by wrapping each one in a scale. I dislike this for the following reasons: * It expanded the number of scale functions...
This PR reimplements #6059 due to a gnarly git history that I couldn't manage to resolve. The reasoning for this PR remains unchanged, but I'll post the examples again so...
Closes #5825
This PR aims to fix #6054. Briefly, when oob breaks were discarded, atomic labels became out-of-sync. This PR discards such breaks after labels have been retrieved. Reprex from issue: ```...
This PR aims to fix #6052. Briefly, ggplot2 got stuck when graticules are empty. In this PR, we skip computation of axis ticks when the graticule is empty. Reprex: ```...
options(repr.plot.width=10,repr.plot.height=10) p1
This PR aims to fix #3743 and guides indentified in https://github.com/tidyverse/ggplot2/issues/3196#issuecomment-2270818015. Briefly, when using a scale or guide for an aesthetic that is not in use, you'll get a warning....
This PR aims to fix part of #6008. Briefly, reverse dependencies sometimes make assumptions about `length(ggplot())` or `names(ggplot())`. In #5879 we removed the `labels` field, causing these assumptions to no...