squished_labels: generates labels for squished scales

View source: R/viridis_squished.R

squished_labelsR Documentation

generates labels for squished scales

Description

generates labels for squished scales

Usage

squished_labels(labels)

Arguments

labels

One of:

  • NULL for no labels

  • waiver() for the default labels computed by the transformation object

  • A character vector giving labels (must be same length as breaks)

  • A function that takes the breaks as input and returns labels as output Additional if not NULL the last element will be formated with a leading ">"

Value

function, labels for scales


Ostluft/rOstluft.plot documentation built on Jan. 26, 2025, 1:05 a.m.