This function implements the pretty_axis_args argument in functions.

implement_pretty_axis_args(
  x,
  pretty_axis_args = NULL,
  xlim = NULL,
  ylim = NULL,
  ...
)

Arguments

x

A list of of coordinates (see pretty_axis).

pretty_axis_args

A named list of parameters that are passed to pretty_axis.

xlim, ylim

A vector of x and y axis limits that are passed to pretty_axis. These can also be supplied via pretty_axis_args, but supplying xlim and ylim can be more convenient.

...

Arguments passed to or from other methods.

Value

A list, returned by pretty_axis.

Author

Edward Lavender