You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CoordRadial class modifies the r_axis_inside parameter within its $setup_params() method. However, almost all other methods continue to access self$r_axis_inside directly,
options(warnPartialMatchDollar=TRUE)
library(ggplot2)
# I won't draw anything, please see the warning messagep<- ggplot(mtcars, aes(disp, mpg)) +
geom_point() +
coord_radial(start=0.1*pi, end=0.4*pi, r.axis.inside=FALSE)
pdf()
print(p)
#> Warning: No appropriate placement found for `r_axis_inside`.#> ℹ Axis will be placed at panel edge.#> Warning in params$r_axis: partial match of 'r_axis' to 'r_axis_inside'#> Warning in params$r_axis: partial match of 'r_axis' to 'r_axis_inside'
dev.off()
#> png #> 2
Although this example only produces warning messages, the underlying logic may result in incorrect axis placement or other unexpected plotting behavior due to improper parameter access.
The text was updated successfully, but these errors were encountered:
The
CoordRadial
class modifies ther_axis_inside
parameter within its$setup_params()
method. However, almost all other methods continue to accessself$r_axis_inside
directly,ggplot2/R/coord-radial.R
Line 466 in 8b2a764
This causes following warning message:
Created on 2025-04-09 with reprex v2.1.0
Although this example only produces warning messages, the underlying logic may result in incorrect axis placement or other unexpected plotting behavior due to improper parameter access.
The text was updated successfully, but these errors were encountered: