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 1289748

Browse filesBrowse files
committed
Indent code.
1 parent 4bb5ab7 commit 1289748
Copy full SHA for 1289748

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+7
-7
lines changed

‎plotly/tools.py

Copy file name to clipboardExpand all lines: plotly/tools.py
+7-7Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -326,19 +326,19 @@ def get_embed(file_owner_or_url, file_id=None, width="100%", height=525):
326326
"~{file_owner}/{file_id}.embed\" "
327327
"height=\"{iframe_height}\" width=\"{iframe_width}\">"
328328
"</iframe>").format(
329-
plotly_rest_url=plotly_rest_url,
330-
file_owner=file_owner, file_id=file_id,
331-
iframe_height=height, iframe_width=width)
329+
plotly_rest_url=plotly_rest_url,
330+
file_owner=file_owner, file_id=file_id,
331+
iframe_height=height, iframe_width=width)
332332
else:
333333
s = ("<iframe id=\"igraph\" scrolling=\"no\" style=\"border:none;\" "
334334
"seamless=\"seamless\" "
335335
"src=\"{plotly_rest_url}/"
336336
"~{file_owner}/{file_id}.embed?share_key={share_key}\" "
337337
"height=\"{iframe_height}\" width=\"{iframe_width}\">"
338338
"</iframe>").format(
339-
plotly_rest_url=plotly_rest_url,
340-
file_owner=file_owner, file_id=file_id, share_key=share_key,
341-
iframe_height=height, iframe_width=width)
339+
plotly_rest_url=plotly_rest_url,
340+
file_owner=file_owner, file_id=file_id, share_key=share_key,
341+
iframe_height=height, iframe_width=width)
342342

343343
return s
344344

@@ -867,7 +867,7 @@ def make_subplots(rows=1, cols=1,
867867
raise Exception(exception_msg)
868868
except KeyError:
869869
specs = [[{}
870-
for c in range(cols)]
870+
for c in range(cols)]
871871
for r in range(rows)] # default 'specs'
872872

873873
# Throw exception if specs is over or under specified

0 commit comments

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