Skip to content

Commit 08a4199

Browse files
committed
Run tests with outputs for branch marianne-geom-vline
1 parent df79911 commit 08a4199

File tree

79 files changed

+10338
-98
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+10338
-98
lines changed

tests/cookbook-test-suite/distributions/histogram-with-vertical-line.json

Lines changed: 8022 additions & 0 deletions
Large diffs are not rendered by default.

tests/cookbook-test-suite/legends/line_chart_with_custom_legend.json

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,36 @@
22
"data": [
33
{
44
"x": [
5-
"Lunch",
6-
"Dinner",
7-
null,
85
"Lunch",
96
"Dinner"
107
],
118
"y": [
129
13.53,
13-
16.81,
14-
null,
10+
16.81
11+
],
12+
"mode": "lines",
13+
"name": "Female",
14+
"line": {
15+
"color": "rgb(0,0,0)",
16+
"width": 2,
17+
"dash": "solid",
18+
"shape": "linear"
19+
},
20+
"xaxis": "x1",
21+
"yaxis": "y1",
22+
"type": "scatter"
23+
},
24+
{
25+
"x": [
26+
"Lunch",
27+
"Dinner"
28+
],
29+
"y": [
1530
16.24,
1631
17.42
1732
],
1833
"mode": "lines",
34+
"name": "Male",
1935
"line": {
2036
"color": "rgb(0,0,0)",
2137
"width": 2,
@@ -24,7 +40,6 @@
2440
},
2541
"xaxis": "x1",
2642
"yaxis": "y1",
27-
"showlegend": false,
2843
"type": "scatter"
2944
},
3045
{

tests/cookbook-test-suite/lines.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ treatment 11.5
66
")
77

88
# Basic bar plot
9-
bp <- ggplot(df, aes(x=cond, y=result)) + geom_bar(position=position_dodge())
9+
bp <- ggplot(df, aes(x=cond, y=result)) +
10+
geom_bar(position="dodge", stat="identity")
1011
bp
1112

1213
# Add a horizontal line

tests/cookbook-test-suite/lines/basic_horizontal_line.json

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,14 @@
55
"control",
66
"treatment"
77
],
8-
"autobinx": true,
8+
"y": [
9+
10,
10+
11.5
11+
],
912
"xaxis": "x1",
1013
"yaxis": "y1",
1114
"showlegend": false,
12-
"type": "histogram"
15+
"type": "bar"
1316
},
1417
{
1518
"x": [
@@ -18,7 +21,26 @@
1821
],
1922
"y": [
2023
12,
21-
12,
24+
12
25+
],
26+
"mode": "lines",
27+
"line": {
28+
"color": "rgb(0,0,0)",
29+
"width": 2,
30+
"dash": "solid",
31+
"shape": "linear"
32+
},
33+
"xaxis": "x1",
34+
"yaxis": "y1",
35+
"showlegend": false,
36+
"type": "scatter"
37+
},
38+
{
39+
"x": [
40+
0.4,
41+
2.6
42+
],
43+
"y": [
2244
12,
2345
12
2446
],
@@ -76,7 +98,6 @@
7698
},
7799
"paper_bgcolor": "rgb(255,255,255)",
78100
"plot_bgcolor": "rgb(229,229,229)",
79-
"barmode": "group",
80-
"bargap": 0
101+
"barmode": "group"
81102
}
82103
}

0 commit comments

Comments
 (0)