Skip to content

Commit 71d74a4

Browse files
authored
Merge pull request #4538 from rl-utility-man/patch-3
added UTF-8 encoding to the Jinja2 template example
2 parents 39b8dac + 21f9511 commit 71d74a4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: doc/python/interactive-html-export.md

+5
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@ You can insert Plotly output and text related to your data into HTML templates u
6464
```
6565
<!DOCTYPE html>
6666
<html>
67+
<head>
68+
<meta charset="utf-8" /> <!--It is necessary to use the UTF-8 encoding with plotly graphics to get e.g. negative signs to render correctly -->
69+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
70+
</head>
71+
6772
<body>
6873
<h1>Here's a Plotly graph!</h1>
6974
{{ fig }}

0 commit comments

Comments
 (0)