Skip to content

Commit af3f30b

Browse files
committed
test: update mock bar_attrs_relative
* Reduced font size of text "Three" to ensure the baseline image also fits the text inside the bar.
1 parent 31d389c commit af3f30b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

test/image/mocks/bar_attrs_relative.json

+5-4
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,28 @@
33
{
44
"width":[1,0.8,0.6,0.4],
55
"text":[1,2,3333333333,4],
6-
"textposition":"outside",
6+
"textposition":"outside",
77
"y":[1,2,3,4],
88
"x":[1,2,3,4],
99
"type":"bar"
1010
}, {
1111
"width":[0.4,0.6,0.8,1],
1212
"text":["Three",2,"outside text",0],
13-
"textposition":"auto",
13+
"textposition":"auto",
14+
"textfont":[{"size":10}],
1415
"y":[3,2,1,0],
1516
"x":[1,2,3,4],
1617
"type":"bar"
1718
}, {
1819
"width":1,
1920
"text":[-1,-3,-2,-4],
20-
"textposition":"inside",
21+
"textposition":"inside",
2122
"y":[-1,-3,-2,-4],
2223
"x":[1,2,3,4],
2324
"type":"bar"
2425
}, {
2526
"text":[0,"outside text",-3,-2],
26-
"textposition":"auto",
27+
"textposition":"auto",
2728
"y":[0,-0.25,-3,-2],
2829
"x":[1,2,3,4],
2930
"type":"bar"

0 commit comments

Comments
 (0)