Skip to content

Commit 05bb135

Browse files
committed
fix period0 leap year in mock
1 parent afa8965 commit 05bb135

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed
-36 Bytes
Loading

test/image/mocks/period_positioning5.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
"name": "start (Y1)",
4242
"type": "scatter",
4343
"y": [1, 2, 3, 4, 5, 6],
44-
"x": ["2001-01", "2002-01", "2003-01", "2004-01-02", "2005-01", "2006-01"],
45-
"xperiod0": "2001-01-01",
44+
"x": ["2001-01", "2002-01", "2003-01", "2004-01", "2005-01", "2006-01"],
45+
"xperiod0": "2002-01-01",
4646
"xperiodalignment": "start"
4747
},
4848
{
@@ -52,8 +52,8 @@
5252
"name": "middle (Y1)",
5353
"type": "bar",
5454
"y": [1, 2, 3, 4, 5, 6],
55-
"x": ["2001-01", "2002-01", "2003-01", "2004-01-02", "2005-01", "2006-01"],
56-
"xperiod0": "2001-01-01",
55+
"x": ["2001-01", "2002-01", "2003-01", "2004-01", "2005-01", "2006-01"],
56+
"xperiod0": "2002-01-01",
5757
"xperiodalignment": "middle"
5858
},
5959
{
@@ -63,8 +63,8 @@
6363
"name": "end (Y1)",
6464
"type": "scatter",
6565
"y": [1, 2, 3, 4, 5, 6],
66-
"x": ["2001-01", "2002-01", "2003-01", "2004-01-02", "2005-01", "2006-01"],
67-
"xperiod0": "2001-01-01",
66+
"x": ["2001-01", "2002-01", "2003-01", "2004-01", "2005-01", "2006-01"],
67+
"xperiod0": "2002-01-01",
6868
"xperiodalignment": "end"
6969
},
7070

0 commit comments

Comments
 (0)