Skip to content

Commit

Permalink
Set charset to utf-8
Browse files Browse the repository at this point in the history
  • Loading branch information
thequilo committed Apr 5, 2024
1 parent fcf9111 commit 78ab177
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion meeteval/viz/visualize.py
Original file line number Diff line number Diff line change
Expand Up @@ -639,11 +639,20 @@ def dump(self, filename):
# - Scale the visualization to the full window size
Path(filename).write_text(
f'''
<html>
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no" />
<style>
/* Styles for full-screen view */
html {{
height: 100%;
width: 100%;
}}
body {{
height: 100%;
width: 100%;
margin: 1px;
padding: 0;
/* Make sure that no scroll bars appear */
Expand Down

0 comments on commit 78ab177

Please sign in to comment.