
Fraction tick formatting more reasonable for non-ticks (e.g. selection bounds, eventually plot labels)
12 lines
333 B
Racket
12 lines
333 B
Racket
#lang racket/base
|
|
|
|
(require unstable/latent-contract)
|
|
|
|
(require "../common/format.rkt")
|
|
(provide (activate-contract-out
|
|
integer->superscript
|
|
digits-for-range
|
|
real->decimal-string* real->string/trunc
|
|
real->plot-label ivl->plot-label ->plot-label
|
|
parse-format-string apply-formatter))
|