Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Coord radial panel margins#6401

Open
Yunuuuu wants to merge 2 commits intotidyverse:mainfrom
Yunuuuu:coord_radial_panel_margins
Open

Coord radial panel margins#6401
Yunuuuu wants to merge 2 commits intotidyverse:mainfrom
Yunuuuu:coord_radial_panel_margins

Conversation

Copy link

Yunuuuu commented Apr 7, 2025 *
edited
Loading

Fix #6379

This PR provides panel.margin argument to control the spacing between CoordRatial panel and axis

Yunuuuu added 2 commits April 7, 2025 22:29
Copy link
Author

Yunuuuu commented Apr 7, 2025

ggplot(mtcars, aes(disp, mpg)) +
geom_point() +
coord_radial(
start = -0.4 * pi,
end = 0.4 * pi
)

ggplot(mtcars, aes(disp, mpg)) +
geom_point() +
coord_radial(
start = -0.4 * pi,
end = 0.4 * pi,
panel.margin = unit(0, "mm")
)

Copy link
Author

Yunuuuu commented Apr 7, 2025

It seems it's easier to implement outer.radius instead of this spacing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Feature request: expose outer.radius in coord_radial()

1 participant