-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Parametrize r_rescale #6284
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
Comments
I don't think this will be implemented for If you insist on ignoring the axis label space, you can override the relevant parameter in the coord like so: # Add this to plot with `+`
ggproto(
NULL, coord_radial("y", start=0, expand = FALSE),
inner_radius = c(0, 0.5)
) |
Thanks, your suggestion reaches the same result shown in my code. While it is again a hacky way to solve the problem, it does solve it. Take care! |
I just visited here jumping from https://stackoverflow.com/a/79461775/3358272 ...
We can control the presence of axis-labels for non-radial plots directly, such as with I apologize if I'm misunderstanding the ability of the |
No the same This particular issue is even when |
We are facing issues to fill the blank space in pie charts using ggplot2_3.5.1 (issue in other versions too).
The following code:
Gives the following graph:
The issue seems to arise from the r_rescale function which has the
donut = c(0, 0.4)
hardcoded. This can be fixed by overriding the function as shown below:However, this is a hacky way to solve this issue. It seems that the same issue was reported in a stackoverflow issue as well.
The question I have is if it would be possible to parametrize this parameter or this function?
Thanks a lot!
The text was updated successfully, but these errors were encountered: