Skip to content

Commit 179e0d8

Browse files
Merge pull request #4021 from johannesloibl/master
Fix #4019
2 parents f3bfd21 + dd40129 commit 179e0d8

File tree

1 file changed

+1
-1
lines changed
  • packages/python/plotly/plotly/io

1 file changed

+1
-1
lines changed

Diff for: packages/python/plotly/plotly/io/_html.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ def write_html(
543543
bundle_path = path.parent / "plotly.min.js"
544544

545545
if not bundle_path.exists():
546-
bundle_path.write_text(get_plotlyjs())
546+
bundle_path.write_text(get_plotlyjs(), encoding="utf-8")
547547

548548
# Handle auto_open
549549
if path is not None and full_html and auto_open:

0 commit comments

Comments
 (0)