Skip to content

Commit 64d04b0

Browse files
authored
many of our test plots have been bitten by #383 (#838)
since we adopted font-variant="tabular-nums" the left margin is too small for five-digits numbers
1 parent 27d42ec commit 64d04b0

14 files changed

+6256
-6250
lines changed

test/output/athletesWeightCumulative.svg

Lines changed: 80 additions & 80 deletions
Loading

test/output/carsParcoords.svg

Lines changed: 412 additions & 412 deletions
Loading

test/output/diamondsCaratPrice.svg

Lines changed: 1833 additions & 1833 deletions
Loading

test/output/diamondsCaratPriceDots.svg

Lines changed: 1850 additions & 1850 deletions
Loading

test/output/diamondsCaratSampling.svg

Lines changed: 2011 additions & 2011 deletions
Loading

test/output/industryUnemployment.svg

Lines changed: 36 additions & 36 deletions
Loading

test/output/industryUnemploymentStream.svg

Lines changed: 27 additions & 27 deletions
Loading

test/plots/athletes-weight-cumulative.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import * as d3 from "d3";
44
export default async function() {
55
const athletes = await d3.csv("data/athletes.csv", d3.autoType);
66
return Plot.plot({
7+
marginLeft: 44,
78
marks: [
89
Plot.rectY(athletes, Plot.binX({y: "count"}, {x: "weight", cumulative: true}))
910
]

test/plots/cars-parcoords.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default async function() {
2323
const xy = Plot.normalizeX("extent", {x: "value", y: "dimension", z: "dimension"});
2424

2525
return Plot.plot({
26-
marginLeft: 100,
26+
marginLeft: 104,
2727
marginRight: 20,
2828
x: {
2929
axis: null

test/plots/diamonds-carat-price-dots.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ export default async function() {
66
return Plot.plot({
77
height: 640,
88
grid: true,
9+
marginLeft: 44,
910
x: {
1011
label: "Carats →"
1112
},

0 commit comments

Comments
 (0)