Skip to content

Commit f4df76c

Browse files
committed
merge doc
2 parents 274dd96 + d81c600 commit f4df76c

File tree

238 files changed

+38
-8
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

238 files changed

+38
-8
lines changed

devtools/image_viewer/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<head>
33
</head>
44
<body>
5-
<div id="plot-list"></div>
5+
<div id="plot-list" style="overflow:auto; height:100px;"></div>
66
<div id="plot-images"></div>
77
<div id="plot-mock"></div>
88

docker_part_readme.md

Lines changed: 27 additions & 2 deletions

test/image/baselines/0.png

-212 Bytes

test/image/baselines/1.png

-364 Bytes

test/image/baselines/10.png

-923 Bytes

test/image/baselines/11.png

-249 Bytes

test/image/baselines/12.png

849 Bytes

test/image/baselines/13.png

-56 Bytes

test/image/baselines/14.png

39 Bytes

test/image/baselines/15.png

-1.44 KB

test/image/baselines/16.png

-170 Bytes

test/image/baselines/17.png

2.64 KB

test/image/baselines/18.png

676 Bytes

test/image/baselines/19.png

586 Bytes

test/image/baselines/20.png

3.69 KB

test/image/baselines/21.png

3.67 KB

test/image/baselines/22.png

6.33 KB

test/image/baselines/23.png

-430 Bytes

test/image/baselines/24.png

588 Bytes

test/image/baselines/25.png

-7.57 KB

test/image/baselines/26.png

-11.8 KB

test/image/baselines/27.png

-992 Bytes

test/image/baselines/28.png

-1.33 KB

test/image/baselines/29.png

-2.07 KB

test/image/baselines/30.png

-666 Bytes

test/image/baselines/31.png

2.65 KB

test/image/baselines/32.png

7.55 KB

test/image/baselines/4.png

-355 Bytes

test/image/baselines/5.png

-130 Bytes

test/image/baselines/6.png

2.23 KB

test/image/baselines/7.png

2.3 KB

test/image/baselines/8.png

4.15 KB
21 Bytes
-75 Bytes
500 Bytes
325 Bytes
111 Bytes
-87 Bytes

test/image/baselines/Hot_heatmap.png

46 Bytes

test/image/baselines/Jet_heatmap.png

201 Bytes
498 Bytes
555 Bytes

test/image/baselines/RdBu_heatmap.png

275 Bytes
-92 Bytes
-90 Bytes
33 Bytes
-622 Bytes

test/image/baselines/annotations.png

-196 Bytes
652 Bytes
232 Bytes

test/image/baselines/axes-ticks.png

1.43 KB
755 Bytes
-275 Bytes
1.25 KB

test/image/baselines/axes_labels.png

898 Bytes

test/image/baselines/axes_lines.png

-599 Bytes
2.84 KB
1.16 KB
-225 Bytes
1.89 KB
-265 Bytes
386 Bytes

test/image/baselines/bar_line.png

-280 Bytes
-134 Bytes

test/image/baselines/bar_stackto1.png

-281 Bytes
146 Bytes

test/image/baselines/basic_area.png

-361 Bytes

test/image/baselines/basic_bar.png

0 Bytes
-606 Bytes
-438 Bytes

test/image/baselines/basic_line.png

-1.04 KB

test/image/baselines/benchmarks.png

-2.85 KB

test/image/baselines/box_grouped.png

-140 Bytes
-1.65 KB
-27 Bytes
130 Bytes
-324 Bytes
-4 Bytes
-67 Bytes
-184 Bytes

test/image/baselines/bubblechart.png

-79 Bytes
-114 Bytes
624 Bytes
-762 Bytes
4.41 KB
-936 Bytes
-1.87 KB
-4.15 KB
-2.3 KB
334 Bytes
3.29 KB

test/image/baselines/date_axes.png

-77 Bytes
-856 Bytes

test/image/baselines/empty.png

1 Byte
-461 Bytes
-94 Bytes
-627 Bytes
-607 Bytes

test/image/baselines/fonts.png

150 Bytes
-2.29 KB

test/image/baselines/geo_bg-color.png

-7.41 KB
-11.5 KB
-10.3 KB
-5.38 KB
-20.7 KB
-6.94 KB
-1.1 KB
-2.49 KB
-9.59 KB
-3.81 KB
-7.53 KB

test/image/baselines/geo_first.png

-8.07 KB
-2.69 KB
-11.6 KB
-14.3 KB
-3.92 KB
-8.06 KB

test/image/baselines/geo_second.png

-11.5 KB
-3.42 KB
-6.63 KB
-4.83 KB
45.6 KB
44.2 KB
53.9 KB

test/image/baselines/gl3d_bunny.png

56.6 KB
75.4 KB
68.5 KB
56.6 KB
88.2 KB
21 KB
67.7 KB
28.2 KB
26.6 KB
30.9 KB
32.3 KB
24.6 KB
20.4 KB
42.5 KB
88.6 KB
41.2 KB

test/image/baselines/gl3d_ribbons.png

224 KB
24 KB

test/image/baselines/gl3d_snowden.png

25.7 KB
93.3 KB
31.3 KB
20.8 KB
71.9 KB

test/image/baselines/gl3d_z-range.png

23.8 KB

test/image/baselines/global_font.png

1.32 KB

test/image/baselines/grouped_bar.png

-158 Bytes
260 Bytes
-198 Bytes
74 Bytes
8 Bytes
-39 Bytes
-34 Bytes
-15 Bytes
-16 Bytes
109 Bytes
-6 Bytes
-21 Bytes

test/image/baselines/hist_grouped.png

64 Bytes

test/image/baselines/hist_stacked.png

14 Bytes

test/image/baselines/hist_summed.png

-98 Bytes
-368 Bytes
-48 Bytes

test/image/baselines/japanese.png

33 Bytes
15 Bytes
-1.32 KB
-1005 Bytes
-1.41 KB

test/image/baselines/legend_style.png

-1.28 KB
-436 Bytes

test/image/baselines/legendgroup.png

-1.4 KB
79 Bytes
-349 Bytes
-297 Bytes

test/image/baselines/line_scatter.png

-810 Bytes

test/image/baselines/line_style.png

-2.72 KB
5.79 KB
793 Bytes
2.39 KB
-428 Bytes

test/image/baselines/pie_fonts.png

-434 Bytes
1.07 KB
2.24 KB

test/image/baselines/pie_simple.png

1.09 KB
4.44 KB

test/image/baselines/pie_style.png

-1.25 KB
-1.28 KB
3.01 KB

test/image/baselines/polar_line.png

1.6 KB
5.77 KB

test/image/baselines/pseudo_html.png

948 Bytes
640 Bytes

test/image/baselines/shapes.png

299 Bytes
-190 Bytes

test/image/baselines/show_legend.png

971 Bytes
-1.49 KB
4.86 KB

test/image/baselines/simple_inset.png

586 Bytes
2.45 KB

test/image/baselines/size_margins.png

1.84 KB

test/image/baselines/stacked_bar.png

-274 Bytes
1.24 KB

test/image/baselines/style_bar.png

729 Bytes
1.57 KB
-381 Bytes
-537 Bytes
-438 Bytes
-146 Bytes
-14 Bytes
-541 Bytes
-106 Bytes

test/image/baselines/tickformat.png

-1.34 KB
-75 Bytes

test/image/compare_pixels_test.js

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ function runAll () {
2929
console.error('### beginning pixel comparison tests ###');
3030
var files = fs.readdirSync(constants.pathToTestImageMocks);
3131

32-
t.plan(files.length - 1); // -1 is for font-wishlist...
32+
// -1 for font-wishlist and
33+
// -38 for the gl2d mocks
34+
t.plan(files.length - 39);
35+
3336
for (var i = 0; i < files.length; i ++) {
3437
testMock(files[i], t);
3538
}
@@ -45,8 +48,11 @@ function runSingle (userFileName) {
4548
}
4649

4750
function testMock (fileName, t) {
48-
if (path.extname(fileName) !== '.json') return;
49-
if (fileName === 'font-wishlist.json' && !userFileName) return;
51+
if(path.extname(fileName) !== '.json') return;
52+
if(fileName === 'font-wishlist.json' && !userFileName) return;
53+
54+
// TODO fix race condition in gl2d image generation
55+
if(fileName.indexOf('gl2d_') !== -1) return;
5056

5157
var figure = require(path.join(constants.pathToTestImageMocks, fileName));
5258
var bodyMock = {
@@ -55,7 +61,6 @@ function testMock (fileName, t) {
5561
scale: 1
5662
};
5763

58-
5964
var imageFileName = fileName.split('.')[0] + '.png';
6065
var savedImagePath = path.join(constants.pathToTestImages, imageFileName);
6166
var diffPath = path.join(constants.pathToTestImagesDiff, 'diff-' + imageFileName);

test/image/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<body>
44
<!-- this index file gets copied in to the image server docker -->
55
<script type="text/javascript" src="../plotly.js/dist/extras/mathjax/MathJax.js?config=TeX-AMS-MML_SVG"></script>
6-
<script type="text/javascript" src="../plotly.js/dist/plotly.js" charset="utf-8"></script>
6+
<script type="text/javascript" src="../plotly.js/build/plotly.js" charset="utf-8"></script>
77
<script type="text/javascript" src="../plotly.js/dist/plotly-geo-assets.js" charset="utf-8"></script>
88
<script type="text/javascript" src="./main.js"></script>
99
</body>

0 commit comments

Comments
 (0)