File tree 1 file changed +11
-3
lines changed
1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 13
13
# Non-png image extensions
14
14
NON_PNG_EXTENSIONS = ['pdf' , 'svg' , 'eps' ]
15
15
16
- html_template = """<html><head><style media="screen" type="text/css">
16
+ html_template = """<!DOCTYPE html>
17
+ <html lang="en"><head>
18
+ <meta charset="utf-8">
19
+ <title>Matplotlib test result visualization</title>
20
+ <style media="screen">
17
21
img{{
18
22
width:100%;
19
23
max-width:800px;
26
30
"""
27
31
28
32
subdir_template = """<h2>{subdir}</h2><table>
29
- <thead><td>name</td><td>actual</td><td>expected</td><td>diff</td></thead>
33
+ <thead><tr><th>name</th><th>actual</th><th>expected</th><th>diff</th></tr></thead>
34
+ <tbody>
30
35
{rows}
36
+ </tbody>
31
37
</table>
32
38
"""
33
39
34
40
failed_template = """<h2>Only Failed</h2><table>
35
- <thead><td>name</td><td>actual</td><td>expected</td><td>diff</td></thead>
41
+ <thead><tr><th>name</th><th>actual</th><th>expected</th><th>diff</th></tr></thead>
42
+ <tbody>
36
43
{rows}
44
+ </tbody>
37
45
</table>
38
46
"""
39
47
You can’t perform that action at this time.
0 commit comments