Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ggplot2 3.5.0 #5592

Merged
merged 49 commits into from
Feb 23, 2024
Merged

ggplot2 3.5.0 #5592

merged 49 commits into from
Feb 23, 2024

Conversation

teunbrand
Copy link
Collaborator

This PR aims to fix #5588.

Currently set as draft until checks are passing and revdepcheck issues are resolved.

@teunbrand teunbrand added this to the ggplot2 3.5.0 milestone Dec 18, 2023
teunbrand and others added 28 commits December 18, 2023 15:36
* skip AsIs scale type

* remove `scale_type.AsIs` method
* Measure labels directly

* Accept new snapshot
* Use `Scale$get_transformation()` more

* Only inverse transform is there is an actual transform
* fix partial match bug

* report more informative call
* Apply #5554 to `guide_custom()`

* build in early exit
* protect against exotic calls

* misplaced parenthesis

* circumvent try_fetch
* `compute_just()` returns non-characters as-is

* `rotate_just()` handles character justification

* better text legend justification
* change right axis title vjust

* accept visual changes

* Add news bullet
* revert renaming `Scale$trans` to `Scale$transformation`

* use `get_transformation()` more consistently

* use `get_transformation()` for y in function stat
teunbrand and others added 18 commits January 16, 2024 11:24
* drop empty guides

* add test
* `legend.ticks.length` inherits from `legend.key.size`

* set `legend.ticks.length` defaults in theme

* remove `legend.ticks.length` defaults from guides
* Use `vec_cbind()` instead of data.frame assignment

* ignore rownames in test

* Add test for AsIs class
* extract title logic in `legend_add_title()`

* `guide_custom()` uses title logic

* simplify legend layout

* borrow legend's setup_elements method

* make `add_title` a ggproto method

* fix messy merge conflict

* document `add_title` method

* `unique()` --> `unique0()`
* balance labels

* get `vjust` right

* update snapshot
* add `elements` to `arrange_layout`

* Fix `byrow`

* add test
* rename `donut` -> `inner.radius`

* regenerate docs
* swap theme suffix depending on `theta`

* pass theme properly in `guide_axis_theta()`

* add `theta` and `r` theme elements

* axis.text.r has symmetrical margins

* use new suffixes

* update tests

* update docs
@thomasp85 thomasp85 marked this pull request as ready for review February 23, 2024 09:35
@thomasp85 thomasp85 merged commit 7c9a73a into main Feb 23, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Release ggplot2 3.5.0
2 participants