Skip to content

Commit 128115b

Browse files
committed
update date histogram mock and image to be immune to edge effects
1 parent b82190d commit 128115b

File tree

2 files changed

+7
-106
lines changed

2 files changed

+7
-106
lines changed
-5.12 KB
Loading

test/image/mocks/date_histogram.json

+7-106
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
"autobinx": false,
1414
"nbinsx": 3,
1515
"xbins": {
16-
"start": "2012-01-01",
17-
"end": "2012-04-01",
16+
"start": "2011-12-16",
17+
"end": "2012-03-16",
1818
"size": "M1"
1919
},
2020
"autobiny": true,
@@ -26,117 +26,32 @@
2626
],
2727
"layout": {
2828
"title": "Click to enter Plot title",
29-
"titlefont": {
30-
"family": "",
31-
"size": 0,
32-
"color": ""
33-
},
3429
"font": {
3530
"family": "\"Open sans\", verdana, arial, sans-serif",
3631
"size": 12,
3732
"color": "#444"
3833
},
3934
"showlegend": true,
40-
"autosize": true,
41-
"width": 841,
42-
"height": 662,
35+
"width": 600,
36+
"height": 400,
4337
"xaxis": {
4438
"title": "month",
45-
"titlefont": {
46-
"family": "",
47-
"size": 0,
48-
"color": ""
49-
},
50-
"range": [
51-
1325438100000,
52-
1333210500000
53-
],
54-
"domain": [
55-
0,
56-
1
57-
],
58-
"type": "date",
59-
"rangemode": "normal",
60-
"autorange": true,
6139
"showgrid": false,
6240
"zeroline": false,
6341
"showline": false,
64-
"autotick": true,
65-
"nticks": 41,
6642
"ticks": "",
6743
"showticklabels": true,
68-
"tick0": 946789200000,
69-
"dtick": 259200000,
70-
"ticklen": 5,
71-
"tickwidth": 1,
7244
"tickcolor": "rgb(127,127,127)",
73-
"tickangle": "auto",
74-
"tickfont": {
75-
"family": "",
76-
"size": 0,
77-
"color": ""
78-
},
79-
"exponentformat": "B",
80-
"showexponent": "all",
81-
"mirror": false,
82-
"gridcolor": "rgb(255,255,255)",
83-
"gridwidth": 1,
84-
"zerolinecolor": "#444",
85-
"zerolinewidth": 1,
86-
"linecolor": "#444",
87-
"linewidth": 1,
88-
"anchor": "y",
89-
"overlaying": false,
90-
"position": 0
45+
"gridcolor": "rgb(255,255,255)"
9146
},
9247
"yaxis": {
9348
"title": "count",
94-
"titlefont": {
95-
"family": "",
96-
"size": 0,
97-
"color": ""
98-
},
99-
"range": [
100-
0,
101-
3.1578947368421053
102-
],
103-
"domain": [
104-
0,
105-
1
106-
],
107-
"type": "linear",
108-
"rangemode": "normal",
109-
"autorange": true,
11049
"showgrid": true,
11150
"zeroline": true,
11251
"showline": false,
113-
"autotick": true,
114-
"nticks": 0,
11552
"ticks": "",
116-
"showticklabels": true,
117-
"tick0": 0,
118-
"dtick": 0.5,
119-
"ticklen": 5,
120-
"tickwidth": 1,
12153
"tickcolor": "rgb(127,127,127)",
122-
"tickangle": "auto",
123-
"tickfont": {
124-
"family": "",
125-
"size": 0,
126-
"color": ""
127-
},
128-
"exponentformat": "B",
129-
"showexponent": "all",
130-
"mirror": false,
131-
"gridcolor": "rgb(255,255,255)",
132-
"gridwidth": 1,
133-
"zerolinecolor": "#444",
134-
"zerolinewidth": 1,
135-
"linecolor": "#444",
136-
"linewidth": 1,
137-
"anchor": "x",
138-
"overlaying": false,
139-
"position": 0
54+
"gridcolor": "rgb(255,255,255)"
14055
},
14156
"legend": {
14257
"x": 100,
@@ -151,23 +66,9 @@
15166
"bordercolor": "transparent",
15267
"borderwidth": 0
15368
},
154-
"margin": {
155-
"l": 80,
156-
"r": 10,
157-
"b": 80,
158-
"t": 100,
159-
"pad": 0,
160-
"autoexpand": true
161-
},
162-
"paper_bgcolor": "#fff",
16369
"plot_bgcolor": "rgb(229,229,229)",
164-
"hovermode": "x",
165-
"dragmode": "zoom",
166-
"separators": ".,",
16770
"barmode": "stack",
16871
"bargap": 0.2,
169-
"bargroupgap": 0,
170-
"boxmode": "overlay",
171-
"hidesources": false
72+
"bargroupgap": 0
17273
}
17374
}

0 commit comments

Comments
 (0)