Creates a function for generating pretty axis breaks with Norwegian number formatting.
Usage
pretty_breaks(n = 5, formatting_fn = csstyle::format_num_as_nor_num_0, ...)
Examples
library(ggplot2)
# Use pretty breaks with default formatting
ggplot(mtcars, aes(x = mpg, y = hp)) +
geom_point() +
scale_x_continuous(breaks = pretty_breaks(n = 4))