Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a8d6e7c

Browse files
committed
playing with trisurf test
1 parent 52ab00d commit a8d6e7c

File tree

4 files changed

+55
-8
lines changed

4 files changed

+55
-8
lines changed

plotly/stuff.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plotly/tests/test_core/temp-plot.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<html><head><meta charset="utf-8" /></head><body><div id="854c6dae-0608-4068-8511-3e7e1e6599a6" style="height: 100%; width: 100%;" class="plotly-graph-div"></div><script type="text/javascript">window.PLOTLYENV=window.PLOTLYENV || {};window.PLOTLYENV.BASE_URL="https://plot.ly";Plotly.newPlot("854c6dae-0608-4068-8511-3e7e1e6599a6", [{"y": [10, 20, 30], "x": [1, 2, 3], "type": "scatter"}], {"title": "offline plot"}, {"linkText": "Export to plot.ly", "showLink": true})</script><script type="text/javascript">window.removeEventListener("resize");window.addEventListener("resize", function(){Plotly.Plots.resize(document.getElementById("854c6dae-0608-4068-8511-3e7e1e6599a6"));});</script></body></html>

plotly/tests/test_optional/temp-plot.html

Lines changed: 45 additions & 0 deletions
Large diffs are not rendered by default.

plotly/tests/test_optional/test_figure_factory.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -843,14 +843,14 @@ def test_trisurf_all_args(self):
843843

844844
exp_trisurf_plot = {
845845
'data': [{'facecolor': np.array(
846-
[b'rgb(145.0, 96.0, 143.0)',
847-
b'rgb(29.0, 190.0, 201.0)',
848-
b'rgb(145.0, 96.0, 143.0)',
849-
b'rgb(31.0, 119.0, 180.0)',
850-
b'rgb(145.0, 96.0, 143.0)',
851-
b'rgb(31.0, 119.0, 180.0)',
852-
b'rgb(145.0, 96.0, 143.0)',
853-
b'rgb(29.0, 190.0, 201.0)'],
846+
['rgb(145.0, 96.0, 143.0)',
847+
'rgb(29.0, 190.0, 201.0)',
848+
'rgb(145.0, 96.0, 143.0)',
849+
'rgb(31.0, 119.0, 180.0)',
850+
'rgb(145.0, 96.0, 143.0)',
851+
'rgb(31.0, 119.0, 180.0)',
852+
'rgb(145.0, 96.0, 143.0)',
853+
'rgb(29.0, 190.0, 201.0)'],
854854
dtype='|S23'
855855
),
856856
'i': np.array([3, 1, 1, 5, 7, 3, 5, 7], dtype='int32'),

0 commit comments

Comments
 (0)