-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
Milestone
Description
In #3356, the panel_params
generated by CoordCartesian
were changed so that panel_params$x
and panel_params$y
are scale-like objects. Internally we use panel_params$x.range
and panel_params$y.range
(the x and y scale limits), so these were kept for backward compatibility. This change broke a number of downstream packages (e.g., #3436 and multiple reverse dependency failures). We should consider adding back the following elements to ease this transition:
x.labels
y.labels
x.major.source
y.major.source
x.minor.source
y.minor.source
Thoughts on this @thomasp85? Also tagging @cpsievert since he was the first one to notice this change.
This is where one would add these parameters back in:
Lines 206 to 211 in 9b667b9
view_scales <- list( | |
view_scale_primary(scale, limits, continuous_range), | |
sec = view_scale_secondary(scale, limits, continuous_range), | |
arrange = scale$axis_order(), | |
range = continuous_range | |
) |