File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -469,27 +469,6 @@ theme <- function(...,
469
469
validate = TRUE ) {
470
470
elements <- find_args(... , complete = NULL , validate = NULL )
471
471
472
- if (! is.null(elements $ axis.ticks.margin )) {
473
- lifecycle :: deprecate_stop(
474
- " 2.0.0" , " theme(axis.ticks.margin)" ,
475
- details = " Please set `margin` property of `axis.text` instead"
476
- )
477
- }
478
- if (! is.null(elements $ panel.margin )) {
479
- lifecycle :: deprecate_stop(
480
- " 2.2.0" , " theme(panel.margin)" , " theme(panel.spacing)"
481
- )
482
- }
483
- if (! is.null(elements $ panel.margin.x )) {
484
- lifecycle :: deprecate_stop(
485
- " 2.2.0" , " theme(panel.margin.x)" , " theme(panel.spacing.x)"
486
- )
487
- }
488
- if (! is.null(elements $ panel.margin.y )) {
489
- lifecycle :: deprecate_stop(
490
- " 2.2.0" , " theme(panel.margin.y)" , " theme(panel.spacing.y)"
491
- )
492
- }
493
472
if (is.unit(elements $ legend.margin ) && ! is.margin(elements $ legend.margin )) {
494
473
cli :: cli_warn(c(
495
474
" {.var legend.margin} must be specified using {.fn margin}" ,
You can’t perform that action at this time.
0 commit comments