|
| 1 | +{ |
| 2 | + "data": [ |
| 3 | + { |
| 4 | + "type": "scatterpolar", |
| 5 | + "r": [5, 4, 2, 4, 5], |
| 6 | + "theta": ["a", "b", "c", "d", "a"], |
| 7 | + "fill": "toself" |
| 8 | + }, |
| 9 | + { |
| 10 | + "type": "scatterpolar", |
| 11 | + "r": [1, 2.2, 2, 1.5, 1.5, 2, 3, 1], |
| 12 | + "theta": ["a", "b", "c", "d", "e", "f", "g", "a"], |
| 13 | + "fill": "toself", |
| 14 | + "subplot": "polar2" |
| 15 | + }, |
| 16 | + { |
| 17 | + "type": "scatterpolar", |
| 18 | + "r": [5, 4, 2, 4, 5], |
| 19 | + "theta": ["a", "b", "c", "d", "a"], |
| 20 | + "fill": "toself", |
| 21 | + "subplot": "polar3" |
| 22 | + }, |
| 23 | + { |
| 24 | + "type": "scatterpolar", |
| 25 | + "r": [45, 90, 180, 200, 300, 15, 20, 45], |
| 26 | + "theta": ["a", "b", "c", "d", "b", "f", "a", "a"], |
| 27 | + "subplot": "polar4" |
| 28 | + }, |
| 29 | + { |
| 30 | + "type": "scatterpolar", |
| 31 | + "r": [5, 4, 2, 4, 5, 5], |
| 32 | + "theta": ["b", "c", "d", "e", "a", "b"], |
| 33 | + "fill": "toself" |
| 34 | + }, |
| 35 | + { |
| 36 | + "type": "scatterpolar", |
| 37 | + "r": [500], |
| 38 | + "theta": ["b"], |
| 39 | + "name": "out-of-polygon (should not see it)", |
| 40 | + "subplot": "polar4" |
| 41 | + } |
| 42 | + ], |
| 43 | + "layout": { |
| 44 | + "polar": { |
| 45 | + "usepolygons": true, |
| 46 | + "domain": { |
| 47 | + "x": [0, 0.46], |
| 48 | + "y": [0.56, 1] |
| 49 | + }, |
| 50 | + "radialaxis": { |
| 51 | + "angle": 45, |
| 52 | + "title": "angular period > _categories" |
| 53 | + }, |
| 54 | + "angularaxis": { |
| 55 | + "direction": "clockwise", |
| 56 | + "period": 6 |
| 57 | + } |
| 58 | + }, |
| 59 | + "polar2": { |
| 60 | + "usepolygons": true, |
| 61 | + "domain": { |
| 62 | + "x": [0, 0.46], |
| 63 | + "y": [0, 0.44] |
| 64 | + }, |
| 65 | + "angularaxis": { |
| 66 | + "direction": "clockwise" |
| 67 | + } |
| 68 | + }, |
| 69 | + "polar3": { |
| 70 | + "usepolygons": true, |
| 71 | + "domain": { |
| 72 | + "x": [0.54, 1], |
| 73 | + "y": [0.56, 1] |
| 74 | + }, |
| 75 | + "sector": [-20, 200], |
| 76 | + "radialaxis": { |
| 77 | + "angle": 60, |
| 78 | + "title": "snapped to 90" |
| 79 | + }, |
| 80 | + "angularaxis": { |
| 81 | + "categoryarray": ["d", "a", "c", "b"], |
| 82 | + "direction": "clockwise" |
| 83 | + } |
| 84 | + }, |
| 85 | + "polar4": { |
| 86 | + "usepolygons": true, |
| 87 | + "domain": { |
| 88 | + "x": [0.54, 1], |
| 89 | + "y": [0, 0.44] |
| 90 | + }, |
| 91 | + "angularaxis": { |
| 92 | + "direction": "clockwise" |
| 93 | + }, |
| 94 | + "radialaxis": { |
| 95 | + "range": [0, 400] |
| 96 | + } |
| 97 | + }, |
| 98 | + "width": 550, |
| 99 | + "height": 550, |
| 100 | + "margin": {"l": 40, "r": 40, "b": 60, "t": 20, "pad": 0}, |
| 101 | + "showlegend": false |
| 102 | + } |
| 103 | +} |
0 commit comments