diff --git a/src/plot/util.typ b/src/plot/util.typ index 5c59c80..8d0b03e 100644 --- a/src/plot/util.typ +++ b/src/plot/util.typ @@ -290,7 +290,7 @@ for (name, axis) in axis-dict { if not "ticks" in axis { axis.ticks = () } - axis.label = get-axis-option(name, "label", $#name$) + axis.label = get-axis-option(name, "label", $italic(name)$) // Configure axis bounds axis.min = get-axis-option(name, "min", axis.min) diff --git a/tests/axes/log-mode/ref/1.png b/tests/axes/log-mode/ref/1.png index 41f50ba..8572759 100644 Binary files a/tests/axes/log-mode/ref/1.png and b/tests/axes/log-mode/ref/1.png differ diff --git a/tests/plot/annotation/ref/1.png b/tests/plot/annotation/ref/1.png index 8e38416..eac2472 100644 Binary files a/tests/plot/annotation/ref/1.png and b/tests/plot/annotation/ref/1.png differ diff --git a/tests/plot/bar/ref/1.png b/tests/plot/bar/ref/1.png index cb81662..c193a09 100644 Binary files a/tests/plot/bar/ref/1.png and b/tests/plot/bar/ref/1.png differ diff --git a/tests/plot/boxwhisker/ref/1.png b/tests/plot/boxwhisker/ref/1.png index 03a020c..aee51c8 100644 Binary files a/tests/plot/boxwhisker/ref/1.png and b/tests/plot/boxwhisker/ref/1.png differ diff --git a/tests/plot/broken-axes/ref/1.png b/tests/plot/broken-axes/ref/1.png index deb807d..0eec936 100644 Binary files a/tests/plot/broken-axes/ref/1.png and b/tests/plot/broken-axes/ref/1.png differ diff --git a/tests/plot/contour/ref/1.png b/tests/plot/contour/ref/1.png index 14b8ca8..3966296 100644 Binary files a/tests/plot/contour/ref/1.png and b/tests/plot/contour/ref/1.png differ diff --git a/tests/plot/equal-axis/ref/1.png b/tests/plot/equal-axis/ref/1.png index b433e7d..9948f62 100644 Binary files a/tests/plot/equal-axis/ref/1.png and b/tests/plot/equal-axis/ref/1.png differ diff --git a/tests/plot/format/ref/1.png b/tests/plot/format/ref/1.png index bd9c1ef..076b04f 100644 Binary files a/tests/plot/format/ref/1.png and b/tests/plot/format/ref/1.png differ diff --git a/tests/plot/grid/ref/1.png b/tests/plot/grid/ref/1.png index 185d5f5..726a581 100644 Binary files a/tests/plot/grid/ref/1.png and b/tests/plot/grid/ref/1.png differ diff --git a/tests/plot/hvline/ref/1.png b/tests/plot/hvline/ref/1.png index e318a4c..5c3fd3e 100644 Binary files a/tests/plot/hvline/ref/1.png and b/tests/plot/hvline/ref/1.png differ diff --git a/tests/plot/legend/ref/1.png b/tests/plot/legend/ref/1.png index 0c911c3..0fc8e61 100644 Binary files a/tests/plot/legend/ref/1.png and b/tests/plot/legend/ref/1.png differ diff --git a/tests/plot/line/between/ref/1.png b/tests/plot/line/between/ref/1.png index c9c2d00..7eb54c2 100644 Binary files a/tests/plot/line/between/ref/1.png and b/tests/plot/line/between/ref/1.png differ diff --git a/tests/plot/line/fill/ref/1.png b/tests/plot/line/fill/ref/1.png index 6117f40..45367ad 100644 Binary files a/tests/plot/line/fill/ref/1.png and b/tests/plot/line/fill/ref/1.png differ diff --git a/tests/plot/line/line-type/ref/1.png b/tests/plot/line/line-type/ref/1.png index 579c80a..613ac39 100644 Binary files a/tests/plot/line/line-type/ref/1.png and b/tests/plot/line/line-type/ref/1.png differ diff --git a/tests/plot/line/linearization/ref/1.png b/tests/plot/line/linearization/ref/1.png index 97b0dbd..feea5ef 100644 Binary files a/tests/plot/line/linearization/ref/1.png and b/tests/plot/line/linearization/ref/1.png differ diff --git a/tests/plot/line/mark/ref/1.png b/tests/plot/line/mark/ref/1.png index 97d0b32..082abd8 100644 Binary files a/tests/plot/line/mark/ref/1.png and b/tests/plot/line/mark/ref/1.png differ diff --git a/tests/plot/line/spline/ref/1.png b/tests/plot/line/spline/ref/1.png index 71703d6..90e2659 100644 Binary files a/tests/plot/line/spline/ref/1.png and b/tests/plot/line/spline/ref/1.png differ diff --git a/tests/plot/marks/ref/1.png b/tests/plot/marks/ref/1.png index c8fab43..520c0f5 100644 Binary files a/tests/plot/marks/ref/1.png and b/tests/plot/marks/ref/1.png differ diff --git a/tests/plot/mirror-axes/ref/1.png b/tests/plot/mirror-axes/ref/1.png index 6c1857c..aa6e494 100644 Binary files a/tests/plot/mirror-axes/ref/1.png and b/tests/plot/mirror-axes/ref/1.png differ diff --git a/tests/plot/parametric/ref/1.png b/tests/plot/parametric/ref/1.png index 9a51877..033c9a0 100644 Binary files a/tests/plot/parametric/ref/1.png and b/tests/plot/parametric/ref/1.png differ diff --git a/tests/plot/reverse-axis/ref/1.png b/tests/plot/reverse-axis/ref/1.png index cf2fed1..1c0f43c 100644 Binary files a/tests/plot/reverse-axis/ref/1.png and b/tests/plot/reverse-axis/ref/1.png differ diff --git a/tests/plot/self/ref/1.png b/tests/plot/self/ref/1.png index 94ff08e..b3b88d3 100644 Binary files a/tests/plot/self/ref/1.png and b/tests/plot/self/ref/1.png differ diff --git a/tests/plot/vertical/ref/1.png b/tests/plot/vertical/ref/1.png index 2a083df..e13e158 100644 Binary files a/tests/plot/vertical/ref/1.png and b/tests/plot/vertical/ref/1.png differ