Skip to content

Commit e5ba031

Browse files
committed
fix tests
1 parent 76ae031 commit e5ba031

File tree

4 files changed

+22
-36
lines changed

4 files changed

+22
-36
lines changed

test/output/hexbinSymbol.html

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<figure style="max-width: initial;">
2-
<div class="plot" style="
2+
<div class="plot plot-palette" style="
33
--swatchWidth: 15px;
44
--swatchHeight: 15px;
55
">
@@ -11,12 +11,6 @@
1111
margin-left: 0px;
1212
}
1313

14-
.plot-title {
15-
font-weight: bold;
16-
display: block;
17-
margin-bottom: 0.4em;
18-
}
19-
2014
.plot-swatch>svg {
2115
width: var(--swatchWidth);
2216
height: var(--swatchHeight);
@@ -41,14 +35,13 @@
4135
align-items: center;
4236
margin-right: 1em;
4337
}
44-
</style>
45-
<div class="plot-palette"><span class="plot-swatch"><svg viewBox="-8 -8 16 16" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
46-
<path d="M4.5,0A4.5,4.5,0,1,1,-4.5,0A4.5,4.5,0,1,1,4.5,0"></path>
47-
</svg>FEMALE</span><span class="plot-swatch"><svg viewBox="-8 -8 16 16" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
48-
<path d="M-6.873088769818877,0L6.873088769818877,0M0,6.873088769818877L0,-6.873088769818877"></path>
49-
</svg>MALE</span><span class="plot-swatch"><svg viewBox="-8 -8 16 16" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
50-
<path d="M-4.869970345289333,-4.869970345289333L4.869970345289333,4.869970345289333M-4.869970345289333,4.869970345289333L4.869970345289333,-4.869970345289333"></path>
51-
</svg>null</span></div>
38+
</style><span class="plot-swatch"><svg viewBox="-8 -8 16 16" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
39+
<path d="M4.5,0A4.5,4.5,0,1,1,-4.5,0A4.5,4.5,0,1,1,4.5,0"></path>
40+
</svg>FEMALE</span><span class="plot-swatch"><svg viewBox="-8 -8 16 16" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
41+
<path d="M-6.873088769818877,0L6.873088769818877,0M0,6.873088769818877L0,-6.873088769818877"></path>
42+
</svg>MALE</span><span class="plot-swatch"><svg viewBox="-8 -8 16 16" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
43+
<path d="M-4.869970345289333,-4.869970345289333L4.869970345289333,4.869970345289333M-4.869970345289333,4.869970345289333L4.869970345289333,-4.869970345289333"></path>
44+
</svg>null</span>
5245
</div><svg class="plot-2" fill="currentColor" font-family="system-ui, sans-serif" font-size="10" text-anchor="middle" width="640" height="400" viewBox="0 0 640 400" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
5346
<style>
5447
.plot-2 {

test/output/hexbinZ.html

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<figure style="max-width: initial;">
2-
<div class="plot" style="
2+
<div class="plot plot-palette" style="
33
--swatchWidth: 15px;
44
--swatchHeight: 15px;
55
">
@@ -11,12 +11,6 @@
1111
margin-left: 0px;
1212
}
1313

14-
.plot-title {
15-
font-weight: bold;
16-
display: block;
17-
margin-bottom: 0.4em;
18-
}
19-
2014
.plot-swatch::before {
2115
content: "";
2216
width: var(--swatchWidth);
@@ -37,8 +31,7 @@
3731
align-items: center;
3832
margin-right: 1em;
3933
}
40-
</style>
41-
<div class="plot-palette"><span class="plot-swatch" style="--color: #4e79a7;">Adelie</span><span class="plot-swatch" style="--color: #f28e2c;">Chinstrap</span><span class="plot-swatch" style="--color: #e15759;">Gentoo</span></div>
34+
</style><span class="plot-swatch" style="--color: #4e79a7;">Adelie</span><span class="plot-swatch" style="--color: #f28e2c;">Chinstrap</span><span class="plot-swatch" style="--color: #e15759;">Gentoo</span>
4235
</div><svg class="plot-2" fill="currentColor" font-family="system-ui, sans-serif" font-size="10" text-anchor="middle" width="640" height="400" viewBox="0 0 640 400" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
4336
<style>
4437
.plot-2 {

test/output/penguinFacetDodgeIsland.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,6 @@
1111
margin-left: 0px;
1212
}
1313

14-
.plot-title {
15-
font-weight: bold;
16-
display: block;
17-
margin-bottom: 0.4em;
18-
}
19-
2014
.plot-swatch::before {
2115
content: "";
2216
width: var(--swatchWidth);
@@ -25,6 +19,12 @@
2519
background: var(--color);
2620
}
2721

22+
.plot-title {
23+
font-weight: bold;
24+
display: block;
25+
margin-bottom: 0.4em;
26+
}
27+
2828
.plot-palette {
2929
display: flex;
3030
align-items: flex-start;

test/output/penguinFacetDodgeSymbol.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,6 @@
1111
margin-left: 0px;
1212
}
1313

14-
.plot-title {
15-
font-weight: bold;
16-
display: block;
17-
margin-bottom: 0.4em;
18-
}
19-
2014
.plot-swatch>svg {
2115
width: var(--swatchWidth);
2216
height: var(--swatchHeight);
@@ -29,6 +23,12 @@
2923
stroke-opacity: 1;
3024
}
3125

26+
.plot-title {
27+
font-weight: bold;
28+
display: block;
29+
margin-bottom: 0.4em;
30+
}
31+
3232
.plot-palette {
3333
display: flex;
3434
align-items: flex-start;

0 commit comments

Comments
 (0)