Skip to content

Commit 901ca73

Browse files
committed
maintain existing behavior
1 parent 3cec990 commit 901ca73

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

plotly/io/_html.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,10 @@ def to_html(
341341
return """\
342342
<!doctype html>
343343
<html>
344-
<head><meta charset="utf-8" /></head>
344+
<head>
345+
<meta charset="utf-8" />
346+
<style>html, body {{height: 100%;}}</style>
347+
</head>
345348
<body>
346349
{div}
347350
</body>

0 commit comments

Comments
 (0)