Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8740209

Browse filesBrowse files
committed
Merge pull request plotly#392 from chrstphe/embedcodefix
Added a space between attributes so that picky HTML parsers don't freak out
2 parents 5e734af + 5826429 commit 8740209
Copy full SHA for 8740209

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎plotly/tools.py

Copy file name to clipboardExpand all lines: plotly/tools.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ def get_embed(file_owner_or_url, file_id=None, width="100%", height=525):
339339
"The 'file_id' argument must be a non-negative number."
340340
)
341341
if share_key is '':
342-
s = ("<iframe id=\"igraph\" scrolling=\"no\" style=\"border:none;\""
342+
s = ("<iframe id=\"igraph\" scrolling=\"no\" style=\"border:none;\" "
343343
"seamless=\"seamless\" "
344344
"src=\"{plotly_rest_url}/"
345345
"~{file_owner}/{file_id}.embed\" "
@@ -349,7 +349,7 @@ def get_embed(file_owner_or_url, file_id=None, width="100%", height=525):
349349
file_owner=file_owner, file_id=file_id,
350350
iframe_height=height, iframe_width=width)
351351
else:
352-
s = ("<iframe id=\"igraph\" scrolling=\"no\" style=\"border:none;\""
352+
s = ("<iframe id=\"igraph\" scrolling=\"no\" style=\"border:none;\" "
353353
"seamless=\"seamless\" "
354354
"src=\"{plotly_rest_url}/"
355355
"~{file_owner}/{file_id}.embed?share_key={share_key}\" "

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.