Skip to content

Commit

Permalink
Merge pull request #5170 from plotly/add-tests-some-v1.56.0-features
Browse files Browse the repository at this point in the history
Adjust one new mock
  • Loading branch information
archmoj authored Sep 28, 2020
2 parents 2cce0e9 + 35de722 commit f427d8a
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 17 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,37 @@
"Uniform",
"Uniform"
],
"level": "Juliet",
"branchvalues": "total",
"values": [
40000,
2000,
38000,
1500,
2500,
34000,
1000,
2000,
3000,
28000,
1250,
1750,
2250,
2750,
20000,
1000,
1500,
2000,
2500,
3000,
10000,
1000,
1500,
2000,
2500,
3000
],
"sort": false,
"level": "Oscar",
"count": "leaves+branches",
"textinfo": "label",
"insidetextorientation": "horizontal",
Expand All @@ -69,7 +99,7 @@
},
"colorscale": [
[0, "rgba(0,0,255,1)"],
[0.5, "rgba(0,255,0,0.0)"],
[0.5, "rgba(0,255,0,0.25)"],
[1, "rgba(255,0,0,1)"]
],
"showscale": false
Expand All @@ -87,13 +117,13 @@
"show": true
}
},
"x": [0, 0.25, 0.5, 0.75, 1],
"y": [0, 0.25, 0.5, 0.75, 1],
"x": [0, 2000, 4000, 6000, 8000],
"y": [0, 2000, 4000, 6000, 8000],
"z": [
[0, 0, 0, 0, 0],
[0, 0.1, 0.8, 0.7, 0],
[0, 0.2, 0, 0.6, 0],
[0, 0.3, 0.4, 0.5, 0],
[0, 500, 4000, 3500, 0],
[0, 1000, 0, 3000, 0],
[0, 1500, 2000, 2500, 0],
[0, 0, 0, 0, 0]
]
},
Expand All @@ -105,13 +135,13 @@
"show": true
}
},
"x": [0, 0.25, 0.5, 0.75, 1],
"y": [0, 0.25, 0.5, 0.75, 1],
"x": [0, 2000, 4000, 6000, 8000],
"y": [0, 2000, 4000, 6000, 8000],
"z": [
[0, 0, 0, 0, 0],
[0, 0.1, 0.8, 0.7, 0],
[0, 0.2, 0, 0.6, 0],
[0, 0.3, 0.4, 0.5, 0],
[0, 500, 4000, 3500, 0],
[0, 1000, 0, 3000, 0],
[0, 1500, 2000, 2500, 0],
[0, 0, 0, 0, 0]
]
}
Expand All @@ -120,14 +150,17 @@
"width": 1000,
"height": 350,
"title": {
"text": "treemap, heatmap & surface plots with transparent colorscale"
"text": "treemap, heatmap & surface plots with transparent colorscale and engineering formatting"
},
"coloraxis": {
"colorscale": [
[0, "rgba(0,0,255,1)"],
[0.5, "rgba(0,255,0,0.0)"],
[0.5, "rgba(0,255,0,0.25)"],
[1, "rgba(255,0,0,1)"]
]
],
"colorbar": {
"minexponent": 0
}
},
"margin": {
"t": 75,
Expand All @@ -136,17 +169,35 @@
"b": 25
},
"xaxis": {
"domain": [0.35, 0.65]
"domain": [0.35, 0.65],
"minexponent": 0,
"dtick": 2000
},
"yaxis": {
"minexponent": 0,
"dtick": 2000
},
"scene": {
"xaxis": {
"minexponent": 0,
"dtick": 2000
},
"yaxis": {
"minexponent": 0,
"dtick": 2000
},
"zaxis": {
"minexponent": 0,
"dtick": 2000
},
"domain": {
"x": [0.7, 1]
},
"camera": {
"eye": {
"x": 0,
"y": 0,
"z": 2
"z": 2.1
},
"up": {
"x": 0,
Expand Down

0 comments on commit f427d8a

Please sign in to comment.