Skip to content

Commit 7257fa6

Browse files
committed
test a different language code (sv-SE = Swedish/Sweden)
1 parent d9a98e9 commit 7257fa6

File tree

2 files changed

+86
-0
lines changed

2 files changed

+86
-0
lines changed
Lines changed: 82 additions & 0 deletions
Loading

test/plots/log-tick-format.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,7 @@ import * as Plot from "@observablehq/plot";
33
export async function logTickFormatFunction() {
44
return Plot.plot({x: {type: "log", domain: [1, 4200], tickFormat: Plot.formatNumber()}});
55
}
6+
7+
export async function logTickFormatFunctionSv() {
8+
return Plot.plot({x: {type: "log", domain: [1, 4200], tickFormat: Plot.formatNumber("sv-SE")}});
9+
}

0 commit comments

Comments
 (0)