File tree 3 files changed +12
-11
lines changed
lib/matplotlib/backends/web_backend 3 files changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -52,16 +52,15 @@ def create_figure():
52
52
# The following is the content of the web page. You would normally
53
53
# generate this using some sort of template facility in your web
54
54
# framework, but here we just use Python string formatting.
55
- html_content = """
56
- <html>
55
+ html_content = """<!DOCTYPE html>
56
+ <html lang="en" >
57
57
<head>
58
58
<!-- TODO: There should be a way to include all of the required javascript
59
59
and CSS so matplotlib can add to the set in the future if it
60
60
needs to. -->
61
61
<link rel="stylesheet" href="_static/css/page.css" type="text/css">
62
- <link rel="stylesheet" href="_static/css/boilerplate.css"
63
- type="text/css" />
64
- <link rel="stylesheet" href="_static/css/fbm.css" type="text/css" />
62
+ <link rel="stylesheet" href="_static/css/boilerplate.css" type="text/css">
63
+ <link rel="stylesheet" href="_static/css/fbm.css" type="text/css">
65
64
<link rel="stylesheet" href="_static/css/mpl.css" type="text/css">
66
65
<script src="mpl.js"></script>
67
66
Original file line number Diff line number Diff line change 1
- < html >
1
+ <!DOCTYPE html>
2
+ < html lang ="en ">
2
3
< head >
3
4
< link rel ="stylesheet " href ="{{ prefix }}/_static/css/page.css " type ="text/css ">
4
- < link rel ="stylesheet " href ="{{ prefix }}/_static/css/boilerplate.css " type ="text/css " / >
5
- < link rel ="stylesheet " href ="{{ prefix }}/_static/css/fbm.css " type ="text/css " / >
5
+ < link rel ="stylesheet " href ="{{ prefix }}/_static/css/boilerplate.css " type ="text/css ">
6
+ < link rel ="stylesheet " href ="{{ prefix }}/_static/css/fbm.css " type ="text/css ">
6
7
< link rel ="stylesheet " href ="{{ prefix }}/_static/css/mpl.css " type ="text/css ">
7
8
< script src ="{{ prefix }}/_static/js/mpl_tornado.js "> </ script >
8
9
< script src ="{{ prefix }}/js/mpl.js "> </ script >
Original file line number Diff line number Diff line change 1
- < html >
1
+ <!DOCTYPE html>
2
+ < html lang ="en ">
2
3
< head >
3
4
< link rel ="stylesheet " href ="{{ prefix }}/_static/css/page.css " type ="text/css ">
4
- < link rel ="stylesheet " href ="{{ prefix }}/_static/css/boilerplate.css " type ="text/css " / >
5
- < link rel ="stylesheet " href ="{{ prefix }}/_static/css/fbm.css " type ="text/css " / >
5
+ < link rel ="stylesheet " href ="{{ prefix }}/_static/css/boilerplate.css " type ="text/css ">
6
+ < link rel ="stylesheet " href ="{{ prefix }}/_static/css/fbm.css " type ="text/css ">
6
7
< link rel ="stylesheet " href ="{{ prefix }}/_static/css/mpl.css " type ="text/css ">
7
8
< script src ="{{ prefix }}/_static/js/mpl_tornado.js "> </ script >
8
9
< script src ="{{ prefix }}/js/mpl.js "> </ script >
You can’t perform that action at this time.
0 commit comments