|
13 | 13 | "type": "surface",
|
14 | 14 | "z": [[1, 2, 3], [1, 2, 1], [3, 2, 1]],
|
15 | 15 | "colorbar": {
|
16 |
| - "title": {"text": "Product %{metatext[0]}", "side": "right"}, |
| 16 | + "title": {"text": "Product %{meta[0]}", "side": "right"}, |
17 | 17 | "len": 0.3
|
18 | 18 | }
|
19 | 19 | }, {
|
20 | 20 | "type": "pie",
|
21 | 21 | "labels": ["a", "b", "c"],
|
22 | 22 | "values": [1, 2, 3],
|
23 | 23 | "domain": {"row": 0, "column": 1},
|
24 |
| - "title": {"text": "Employee %{metatext[1]}"} |
| 24 | + "title": {"text": "Employee %{meta[1]}"} |
25 | 25 | }],
|
26 | 26 | "layout": {
|
27 |
| - "metatext": ["A", "B", "<b>IMPORTANT</b>", "company<sup>TM</sup>", 1000], |
| 27 | + "meta": ["A", "B", "<b>IMPORTANT</b>", "company<sup>TM</sup>", 1000], |
28 | 28 | "grid": {"rows": 3, "columns": 2, "xgap": 0.2, "ygap": 0.35},
|
29 | 29 | "width": 700,
|
30 | 30 | "height": 800,
|
31 | 31 | "margin": {"b": 40},
|
32 | 32 | "showlegend": false,
|
33 | 33 |
|
34 |
| - "title": {"text": "This graph is %{metatext[2]}"}, |
| 34 | + "title": {"text": "This graph is %{meta[2]}"}, |
35 | 35 | "xaxis": {
|
36 | 36 | "domain": {"row": 0, "column": 0},
|
37 |
| - "title": {"text": "Worth more than %{metatext[4]} %{metatext[1]}"} |
| 37 | + "title": {"text": "Worth more than %{meta[4]} %{meta[1]}"} |
38 | 38 | },
|
39 | 39 | "yaxis": {
|
40 | 40 | "domain": {"row": 0, "column": 0},
|
41 |
| - "title": {"text": "$ by %{metatext[3]}"} |
| 41 | + "title": {"text": "$ by %{meta[3]}"} |
42 | 42 | },
|
43 | 43 | "polar": {
|
44 | 44 | "bgcolor": "#d3d3d3",
|
45 | 45 | "domain": {"row": 1, "column": 0},
|
46 | 46 | "radialaxis": {
|
47 | 47 | "title": {
|
48 |
| - "text": "%{metatext[3]} -> %{metatext[4]}", |
| 48 | + "text": "%{meta[3]} -> %{meta[4]}", |
49 | 49 | "font": {"color": "red"}
|
50 | 50 | }
|
51 | 51 | }
|
52 | 52 | },
|
53 | 53 | "ternary": {
|
54 | 54 | "domain": {"row": 2, "column": 0},
|
55 |
| - "aaxis": {"title": {"text": "%{metatext[2]}"}}, |
56 |
| - "baxis": {"title": {"text": "%{metatext[1]}"}}, |
57 |
| - "caxis": {"title": {"text": "%{metatext[4]}"}} |
| 55 | + "aaxis": {"title": {"text": "%{meta[2]}"}}, |
| 56 | + "baxis": {"title": {"text": "%{meta[1]}"}}, |
| 57 | + "caxis": {"title": {"text": "%{meta[4]}"}} |
58 | 58 | },
|
59 | 59 | "scene": {
|
60 | 60 | "domain": {"row": 1, "column": 1},
|
61 | 61 | "camera": {"eye": {"x": 0.01, "y": 0.01, "z": 2.165}},
|
62 |
| - "xaxis": {"title": {"text": "AX:%{metatext[1]}"}}, |
63 |
| - "yaxis": {"title": {"text": "AX:%{metatext[0]}"}}, |
64 |
| - "zaxis": {"title": {"text": "%{metatext[1]}%{metatext[0]}"}}, |
| 62 | + "xaxis": {"title": {"text": "AX:%{meta[1]}"}}, |
| 63 | + "yaxis": {"title": {"text": "AX:%{meta[0]}"}}, |
| 64 | + "zaxis": {"title": {"text": "%{meta[1]}%{meta[0]}"}}, |
65 | 65 | "annotations": [{
|
66 |
| - "text": "Look at %{metatext[1]}", |
| 66 | + "text": "Look at %{meta[1]}", |
67 | 67 | "bgcolor": "#d3d3d3",
|
68 | 68 | "borderpad": 2,
|
69 | 69 | "bordercolor": "#000",
|
|
75 | 75 | },
|
76 | 76 |
|
77 | 77 | "annotations": [{
|
78 |
| - "text": "<i>N.B.</i> %{metatext[2]}", |
| 78 | + "text": "<i>N.B.</i> %{meta[2]}", |
79 | 79 | "xref": "x",
|
80 | 80 | "yref": "y",
|
81 | 81 | "x": 1,
|
|
0 commit comments