Skip to content

Commit 8e5833d

Browse files
committed
cover a few more cases in polar_hole.json
1 parent 35199c6 commit 8e5833d

File tree

2 files changed

+27
-7
lines changed

2 files changed

+27
-7
lines changed

test/image/baselines/polar_hole.png

18 KB
Loading

test/image/mocks/polar_hole.json

Lines changed: 27 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
{
1414
"type": "scatterpolar",
1515
"subplot": "polar2",
16-
"r": [100, 50, 200]
16+
"r": [100, 50, 200],
17+
"marker": {"size": 20}
1718
},
1819
{
1920
"type": "barpolar",
@@ -40,16 +41,29 @@
4041
{
4142
"type": "scatterpolar",
4243
"subplot": "polar4",
43-
"r": [10, 12, 15],
44-
"theta0": 90
44+
"r": [10, 12, 5],
45+
"theta": [0, 90, -90],
46+
"cliponaxis": true,
47+
"marker": {"size": 20}
48+
},
49+
50+
{
51+
"type": "barpolar",
52+
"subplot": "polar5",
53+
"r": [10, 12, 15]
54+
},
55+
{
56+
"type": "scatterpolar",
57+
"subplot": "polar5",
58+
"r": [10, 12, 15]
4559
}
4660
],
4761
"layout": {
4862
"width": 600,
49-
"height": 600,
63+
"height": 800,
5064
"margin": {"l": 40, "r": 40, "b": 40, "t": 40, "pad": 0},
5165
"grid": {
52-
"rows": 2,
66+
"rows": 3,
5367
"columns": 2,
5468
"ygap": 0.2
5569
},
@@ -60,7 +74,8 @@
6074
"polar2": {
6175
"hole": 0.4,
6276
"domain": {"row": 0, "column": 1},
63-
"radialaxis": {"type": "log"}
77+
"angularaxis": {"layer": "below traces"},
78+
"radialaxis": {"type": "log", "range": [1.65, 2.35]}
6479
},
6580
"polar3": {
6681
"hole": 0.2,
@@ -73,7 +88,12 @@
7388
"domain": {"row": 1, "column": 1},
7489
"sector": [0, 180],
7590
"angularaxis": {"direction": "clockwise"},
76-
"radialaxis": {"angle": 90, "side": "counterclockwise"}
91+
"radialaxis": {"angle": 90, "side": "counterclockwise", "range": [5, 15]}
92+
},
93+
"polar5": {
94+
"hole": 0.5,
95+
"domain": {"row": 2, "column": 0},
96+
"radialaxis": {"range": [20, 0]}
7797
},
7898
"showlegend": false
7999
}

0 commit comments

Comments
 (0)