|
| 1 | +{ |
| 2 | + "data": [ |
| 3 | + { |
| 4 | + "type": "contour", |
| 5 | + "name": "▲ x ▲ y", |
| 6 | + "x": [1, 2, 3, 4], |
| 7 | + "y": [1, 2, 3, 4], |
| 8 | + "z": [[1, 2, 3, 4], [1, 2, 3, 4], [2, 3, 4, 5], [4, 5, 6, 7]], |
| 9 | + "contours": {"showlabels": true}, |
| 10 | + "showscale": false |
| 11 | + }, |
| 12 | + { |
| 13 | + "type": "contour", |
| 14 | + "name": "▼ x ▲ y", |
| 15 | + "x": [4, 3, 2, 1], |
| 16 | + "y": [1, 2, 3, 4], |
| 17 | + "z": [[1, 2, 3, 4], [1, 2, 3, 4], [2, 3, 4, 5], [4, 5, 6, 7]], |
| 18 | + "contours": {"showlabels": true}, |
| 19 | + "showscale": false, |
| 20 | + "xaxis": "x2", |
| 21 | + "yaxis": "y2" |
| 22 | + }, |
| 23 | + { |
| 24 | + "type": "contour", |
| 25 | + "name": "▲ x ▼ y", |
| 26 | + "x": [1, 2, 3, 4], |
| 27 | + "y": [4, 3, 2, 1], |
| 28 | + "z": [[1, 2, 3, 4], [1, 2, 3, 4], [2, 3, 4, 5], [4, 5, 6, 7]], |
| 29 | + "contours": {"showlabels": true}, |
| 30 | + "showscale": false, |
| 31 | + "xaxis": "x3", |
| 32 | + "yaxis": "y3" |
| 33 | + }, |
| 34 | + { |
| 35 | + "type": "contour", |
| 36 | + "name": "▼ x ▼ y", |
| 37 | + "x": [4, 3, 2, 1], |
| 38 | + "y": [4, 3, 2, 1], |
| 39 | + "z": [[1, 2, 3, 4], [1, 2, 3, 4], [2, 3, 4, 5], [4, 5, 6, 7]], |
| 40 | + "contours": {"showlabels": true}, |
| 41 | + "showscale": false, |
| 42 | + "xaxis": "x4", |
| 43 | + "yaxis": "y4" |
| 44 | + }, |
| 45 | + |
| 46 | + { |
| 47 | + "type": "contour", |
| 48 | + "name": "▲ x ▲ y (dup)", |
| 49 | + "x": [1, 2, 3, 4], |
| 50 | + "y": [1, 2, 3, 4], |
| 51 | + "z": [[1, 2, 3, 4], [1, 2, 3, 4], [2, 3, 4, 5], [4, 5, 6, 7]], |
| 52 | + "contours": {"showlabels": true}, |
| 53 | + "showscale": false, |
| 54 | + "xaxis": "x5", |
| 55 | + "yaxis": "y5" |
| 56 | + }, |
| 57 | + { |
| 58 | + "type": "contour", |
| 59 | + "name": "▼ x (reversed rng) ▲ y", |
| 60 | + "x": [4, 3, 2, 1], |
| 61 | + "y": [1, 2, 3, 4], |
| 62 | + "z": [[1, 2, 3, 4], [1, 2, 3, 4], [2, 3, 4, 5], [4, 5, 6, 7]], |
| 63 | + "contours": {"showlabels": true}, |
| 64 | + "showscale": false, |
| 65 | + "xaxis": "x6", |
| 66 | + "yaxis": "y6" |
| 67 | + }, |
| 68 | + { |
| 69 | + "type": "contour", |
| 70 | + "name": "▲ x ▼ y (reversed rng)", |
| 71 | + "x": [1, 2, 3, 4], |
| 72 | + "y": [4, 3, 2, 1], |
| 73 | + "z": [[1, 2, 3, 4], [1, 2, 3, 4], [2, 3, 4, 5], [4, 5, 6, 7]], |
| 74 | + "contours": {"showlabels": true}, |
| 75 | + "showscale": false, |
| 76 | + "xaxis": "x7", |
| 77 | + "yaxis": "y7" |
| 78 | + }, |
| 79 | + { |
| 80 | + "type": "contour", |
| 81 | + "name": "▼ x (reversed rng) ▼ y (reversed rng)", |
| 82 | + "x": [4, 3, 2, 1], |
| 83 | + "y": [4, 3, 2, 1], |
| 84 | + "z": [[1, 2, 3, 4], [1, 2, 3, 4], [2, 3, 4, 5], [4, 5, 6, 7]], |
| 85 | + "contours": {"showlabels": true}, |
| 86 | + "showscale": false, |
| 87 | + "xaxis": "x8", |
| 88 | + "yaxis": "y8" |
| 89 | + } |
| 90 | + ], |
| 91 | + "layout": { |
| 92 | + "grid": {"rows": 4, "columns": 2, "pattern": "independent"}, |
| 93 | + |
| 94 | + "template": { |
| 95 | + "data": { |
| 96 | + "contour": [{ |
| 97 | + "hoverlabel": {"namelength": -1} |
| 98 | + }] |
| 99 | + } |
| 100 | + }, |
| 101 | + |
| 102 | + "xaxis6": {"autorange": "reversed"}, |
| 103 | + |
| 104 | + "yaxis7": {"autorange": "reversed"}, |
| 105 | + |
| 106 | + "xaxis8": {"autorange": "reversed"}, |
| 107 | + "yaxis8": {"autorange": "reversed"}, |
| 108 | + |
| 109 | + "width": 500, |
| 110 | + "height": 800 |
| 111 | + } |
| 112 | +} |
0 commit comments