-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
/
Copy pathcliponaxis_false.json
113 lines (112 loc) · 2.56 KB
/
cliponaxis_false.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"data": [
{
"x": [1, 2, 3, 4],
"y": [0, 2, 3, 5],
"fill": "tozeroy",
"cliponaxis": false
},
{
"x": [1, 2, 3, 4 ],
"y": [3, 5, 1, 7],
"fill": "tonexty",
"cliponaxis": false
},
{
"mode": "markers+text",
"x": [1, 1, 2, 3, 3, 2],
"y": [2, 1, 1, 1, 2, 2],
"marker": {
"size": [50, 20, 40, 25, 15, 40],
"opacity": 1
},
"text": "not<br>clipped",
"textposition": ["left", "left", "bottom", "bottom left", "top left", "top"],
"error_y": {
"array": [0.1, 0.2, 0.3, 0.1, 0.3, 0.2],
"arrayminus": [0.1, 0.2, 0.1, 0.1, 0.1, 0.2]
},
"error_x": {
"array": [0.1, 0.2, 0.3, 0.1, 0.1, 0.2],
"arrayminus": [0.1, 0.2, 0.1, 0.1, 0.1, 0.2]
},
"cliponaxis": false
},
{
"mode": "markers",
"x": ["a", "a", "b", "c", "c", "b"],
"y": [2, 1, 1, 1, 2, 2],
"marker": {
"size": [15, 20, 40, 25, 50, 40],
"opacity": 1
},
"cliponaxis": false,
"xaxis": "x2",
"yaxis": "y2"
},
{
"mode": "markers+text",
"x": [1, 1.5, 2.5, 3, 2.5, 1.5],
"y": [1.5, 1, 1, 1.5, 2, 2],
"marker": {
"size": 30
},
"text": "clipped<br>should not see this!",
"textposition": ["left", "bottom", "bottom", "right", "top", "top"],
"cliponaxis": true
}
],
"layout": {
"xaxis": {
"domain": [0, 0.48],
"range": [1, 3],
"showline": true,
"linewidth": 2,
"mirror": "all",
"layer": "below traces"
},
"yaxis": {
"range": [1, 2],
"showline": true,
"linewidth": 2,
"mirror": "all",
"layer": "below traces"
},
"xaxis2": {
"anchor": "y2",
"range": [0, 2],
"domain": [0.52, 1],
"showline": true,
"linewidth": 2,
"mirror": "all",
"layer": "above traces"
},
"yaxis2": {
"anchor": "x2",
"range": [1, 2],
"showline": true,
"linewidth": 2,
"mirror": "all",
"side": "right",
"layer": "above traces"
},
"annotations": [{
"showarrow": false,
"xref": "paper", "yref": "paper",
"x": 0.24, "y": 0.5,
"xanchor": "center",
"text": "axis layer<br>below traces"
}, {
"showarrow": false,
"xref": "paper", "yref": "paper",
"x": 0.74, "y": 0.5,
"xanchor": "center",
"text": "axis layer<br>above traces"
}],
"showlegend": false,
"dragmode": "pan",
"hovermode": "closest",
"height": 500,
"width": 800
}
}