Skip to content

Commit c1b1730

Browse files
committed
add percent error bar to gl2d log error bar mock
1 parent ded2f56 commit c1b1730

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed
-8 Bytes
Loading
+9-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
11
{
22
"data": [{
3+
"name": "array error bars",
34
"type": "scattergl",
45
"y": [10, 2e4, 5e6],
56
"error_y": {"array": [5, 1e4, 4e6]}
7+
}, {
8+
"name": "50% percent error bars",
9+
"type": "scattergl",
10+
"x0": 0.2,
11+
"y": [10, 2e4, 5e6],
12+
"error_y": {"type": "percent", "value": 50}
613
}],
714
"layout": {
8-
"yaxis": {"type": "log"}
15+
"yaxis": {"type": "log"},
16+
"showlegend": false
917
}
1018
}

0 commit comments

Comments
 (0)