8000 updated mock 20 to test axis line width, length, and positioning · paulsputer/plotly.js@829cd6e · GitHub
[go: up one dir, main page]

Skip to content

Commit 829cd6e

Browse files
committed
updated mock 20 to test axis line width, length, and positioning
no updated baseline yet because the behavior is broken
1 parent edf52ca commit 829cd6e

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

test/image/mocks/20.json

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,9 @@
9999
],
100100
"showline": true,
101101
"ticks": "outside",
102-
"mirror": true
102+
"mirror": true,
103+
"linecolor": "rgba(0,0,0,0.5)",
104+
"linewidth": 10
103105
},
104106
"yaxis": {
105107
"title": "yaxis title",
@@ -112,7 +114,8 @@
112114
"tickfont": {
113115
"color": "#1f77b4"
114116
},
115-
"linecolor": "#1f77b4"
117+
"linecolor": "rgba(31,119,180,0.5)",
118+
"linewidth": 20
116119
},
117120
"legend": {
118121
"x": 1.1,
@@ -131,7 +134,8 @@
131134
"tickfont": {
132135
"color": "#ff7f0e"
133136
},
134-
"linecolor": "#ff7f0e",
137+
"linecolor": "rgba(255,127,14,0.4)",
138+
"linewidth": 6,
135139
"anchor": "free",
136140
"position": 0.15,
137141
"overlaying": "y"
@@ -147,7 +151,7 @@
147151
"tickfont": {
148152
"color": "#2ca02c"
149153
},
150-
"linecolor": "#2ca02c",
154+
"linecolor": "rgba(44,160,44,0.5)",
151155
"anchor": "free",
152156
"position": 0,
153157
"overlaying": "y"
@@ -164,7 +168,8 @@
164168
"color": "#d62728"
165169
},
166170
"showexponent": "last",
167-
"linecolor": "#d62728",
171+
"linecolor": "rgba(214,39,40,0.5)",
172+
"linewidth": 15,
168173
"side": "right",
169174
"overlaying": "y"
170175
},
@@ -181,7 +186,8 @@
181186
},
182187
"exponentformat": "power",
183188
"showexponent": "first",
184-
"linecolor": "#9467bd",
189+
"linecolor": "rgba(148,103,189,0.5)",
190+
"linewidth": 5,
185191
"anchor": "free",
186192
"side": "right",
187193
"position": 0.85,
@@ -199,11 +205,14 @@
199205
"color": "#8c564b"
200206
},
201207
"exponentformat": "SI",
202-
"linecolor": "#8c564b",
208+
"linecolor": "rgba(140,86,75,0.5)",
203209
"anchor": "free",
204210
"side": "right",
205211
"position": 1,
206212
"overlaying": "y"
207-
}
213+
},
214+
"width": 750,
215+
"height": 400,
216+
"margin": {"r": 200, "l": 50, "t": 50, "b": 50}
208217
}
209218
}

0 commit comments

Comments
 (0)
0